Error when adding list of instances to firewall #765
Labels
kind/bug
Some behavior is incorrect or out of spec
resolution/duplicate
This issue is a duplicate of another issue
Milestone
What happened?
I'm trying to create a number of nodes, and add them to a firewall. When I specify a hard-coded list of instance ids, it works, but when I try to make it dynamic, I get an error.
Steps to reproduce
Using a new Pulumi project using the Linode typescript template, I create a number of nodes:
I then create a firewall for those nodes:
Instead of hard-coding the list of linodes in the firewall declaration, I want to make it dynamic. The obvious way would be:
Expected Behavior
After deploying with
numNodes=2
, then increasingnumNodes
to 3, I expect the third node to be added to the firewall.Actual Behavior
During preview, I get this error:
Output of
pulumi about
Additional context
Please note that this error happens during the "preview" phase. When I run pulumi with
--skip-preview
, it works as expected.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: