proud-art-41399
03/07/2024, 9:18 AMaws:ssm:Parameter (/xxx):
error: 1 error occurred:
* updating urn:pulumi:xxx::xxx::aws:ssm/parameter:Parameter::/xxx: 1 error occurred:
* updating SSM Parameter (/xxx): ParameterAlreadyExists: The parameter already exists. To overwrite this value, set the overwrite option in the request to true.
I historically created the parameter with overwrite
parameter set to True
but since the attribute became deprecated, removed it and updated the stack. Now I wanted to change the value and got the error above. What worked for me was to exporting the stack to a file using pulumi stack export
, deleting the dangling "overwrite": false
attribute for SSM parameters, importing the stack back using pulumi stack import
, refreshing the stack using pulumi refresh
and then pulumi up
. I'm not sure however if this is the recommended way to handle it, and if it's needed in the first place. How should that work? ThanksNo 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