-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to using template_file for building dynamic members #4252
Comments
Hi @sifizeng. I think the issue here is that the template is producing a string, but the load balancer wants a structure. I don't think it will be a suitable solution to use templates here. Is there a known issue you are referring to with no being able to refer to a resource with a count in the load balancer configuration? This seems like the underlying issue to fix there. |
@jen20 you are right. seems like template_file only can be injected to the string. |
@sifizeng Check out #4359 - it has a draft of the |
@sifizeng Would you consider this issue "resolved"? |
Hey all – I'm going to go ahead and close this issue for now. Please let me know if there's more work required here. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Guys, we all know that the openstack_lb_pool_v1 can not dynamic creating member depends on the number of instance, so I try to use template file to build the member.
Here is my code
but when I run terraform plan, the output is like
Any ideas?
The text was updated successfully, but these errors were encountered: