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.