-
Notifications
You must be signed in to change notification settings - Fork 12
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
Default Provider fails to apply if it's defined below its resource #604
Comments
Ok after some digging it seems the topological sort is not aware of the dependency of alb on the aws provider here. Looking into how to pivot on that information if its there and if it isn't figuring out how to add it (perhaps this is an aws provider specific issue but I doubt it) |
More progress: if you explicitly set the provider in the config section it works out. the topological sort doesn't work because it doesn't detect "default provider" I bet I could add a special case for that in topological sort to always put that first so any other resources that expect it will work |
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Remote-Ref: brandonpollack23/f91181f4 Bug: #604
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Bug: #604 Remote-Ref: brandonpollack23/f91181f4
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Bug: #604 Remote-Ref: brandonpollack23/f91181f4
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Bug: #604 Remote-Ref: brandonpollack23/f91181f4
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Bug: #604 Remote-Ref: brandonpollack23/f91181f4
The topological sort will not sort default providers first as is, so this adds in a check to detect it and not allow implicit providers to be complete until the default provider is declared. Bug: #604 Remote-Ref: brandonpollack23/f91181f4
Fixed by #652 |
What happened?
I assume the order of YAML resources should not matter. However, this program works:
while the following one fails
with
Example
see above
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: