great-sunset-355
07/27/2021, 5:13 AMpulumi.export("some","value")
? Is this a bug?
I exported the value and now I'd like to remove it so I removed it from the code and pulumi up -y
Diff showed
Outputs:
- some: "value"
But then pulumi stack
still shows
Current stack outputs (1):
OUTPUT VALUE
some value
Pulumi then shows that it's removing the output until:
another value is added to the Outputs
pulumi.export('another', 'value')
Then pulumi up -y
Outputs:
+ another: "value"
- some : "value"
Then: pulumi stack
Current stack outputs (1):
OUTPUT VALUE
another value
Note: As long as there is at least one output, removing it works as expected. The described scenario above happens if there is only 1 output in the stack to be removed.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by