Hey there. I just attempted to run an update on th...
# help
d
Hey there. I just attempted to run an update on the cloudformation stack that I've created with SST. Part of that update is a change to an apigateway construct I've created as far as the route it uses. I got an error when I tried to deploy the changes saying the following error
stack failed to deploy
Update of resource type is not permitted. The new template modifies resource type of the following resources [...apigateway name]
I didn't explicitly set any protections on the apigateway. Does anyone know how to disable this behavior? It seems to have only popped up after standing up an api gateway
t
This is probably coming from cdk and thus cloudformation
There are a few gotchas like this where you cannot easily update certain properties of a created resource
d
I found that I had to remove the stack entirely before I was able to make any changes. Wondering if there's any known work arounds for the future