-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Issue in manipulation of resource output/reference with count #19549
Comments
@apparentlymart can you look into it or Reply something? |
Hi @farman022, sorry you have run across this. I suspect you are running into a known limitation of the terraform's configuration language - both sides of a conditional are always evaluated, so you can get errors like this when a resource is not created, but referenced in a conditional. Here is the main issue where we've been tracking this: This is (unfortunately)expected behavior in current versions of terraform, fixed in the upcoming 0.12 release. |
I am going to close this since it is fixed in 0.12. Please open a new issue if you have any other problems. |
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. |
Hi,
I have two resources. one with count variable and taking the reference of one in other. It will give error if the count is zero in the first one.
i.e
I have one option group resource.
and in rds resource, I have written like that. Do not have count variable here in rds resource.
**Error i got if var.abc != "abc"
Can you please let me know if we have any method to manipulate this. or it is a bug.
The text was updated successfully, but these errors were encountered: