-
Notifications
You must be signed in to change notification settings - Fork 14
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
What-If should understand resources that are managed by other resources declared in the template #78
Comments
Customer reported examples: |
Here's an example I have. I'm attaching VM domain join extensions via a looped |
@JustinGrote I think this is actually in issue with the reference() call. What-if is able to evaluate nested templates, but if there are references() to resolve the name or resourceId of the resources in the nested template, what-if will not find those resources since it doesn't know what to look for. We have a separate issue (#83) tracking cases related to the reference() function. Can you add this there? |
@alex-frankel it may help in the output to note it as "calculated" or maybe have a new whatif status of "Inconclusive" to indicate that ARM doesn't know if this will change or not because it can't evaluate the reference. This is how Terraform handles states like this. It should evalute the reference or at least guess if possible (my example it would be guessable), but I understand that would probably be a large engineering effort with a lot of edge cases. |
|
Examples:
The text was updated successfully, but these errors were encountered: