Bug: Updating the CloudFormation stack via "sam deploy" gives an error "Update of resource type is not permitted" #6786
Labels
blocked/close-if-inactive
Blocked for >14 days with no response, will be closed if still inactive after 7 days
Description:
Deployed the project with resource
Type: AWS::SNS::Topic
Change type
AWS::SNS::Topic
->AWS::SQS::Queue
(template.yaml) and update stack viaI got an error
Steps to reproduce:
Create a project with
AWS::SNS::Topic
resource and deploy it. In the template.yaml, change the resource typeAWS::SNS::Topic
->AWS::SQS::Queue
. Deploy updatesObserved result:
Got the result in the terminal
Error: Failed to create changeset for the stack: incoming-email-processing-bug, ex: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state: For expression "Status" we matched expected path: "FAILED" Status: FAILED. Reason: Update of resource type is not permitted. The new template modifies resource type of the following resources: [IncomingEmailLambdaDLQ]
Expected result:
Updated CloudFormation stack.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Host: Virtual Machine Hyper-V UEFI Release v4.0
Kernel: 6.1.77-2-MANJARO
sam --version
:SAM CLI, version 1.110.0
eu-west-1
The text was updated successfully, but these errors were encountered: