AWS CloudFormation stack update scenarios with 'Resource update cancelled' scenarios but no details provided
I'm getting frustrated with I'm having trouble updating my AWS CloudFormation stack for a serverless application using AWS SAM. The initial stack creation went smoothly, but when I try to update it, I receive a 'Resource update cancelled' behavior without any details on what went wrong. I've checked the CloudFormation events, but they don't provide any useful information. Hereโs the relevant part of my `template.yaml` file: ```yaml Resources: MyFunction: Type: AWS::Serverless::Function Properties: Handler: app.handler Runtime: python3.8 CodeUri: ./src Policies: - S3ReadPolicy: BucketName: !Ref MyBucket Environment: TABLE_NAME: !Ref MyDynamoDBTable MyDynamoDBTable: Type: AWS::DynamoDB::Table Properties: TableName: MyTable AttributeDefinitions: - AttributeName: id AttributeType: S KeySchema: - AttributeName: id KeyType: HASH ProvisionedThroughput: ReadCapacityUnits: 5 WriteCapacityUnits: 5 ``` During the update, I made changes to my S3 permissions and added an environment variable to the Lambda function, but Iโm not sure if thatโs the cause. I've also checked that the IAM roles have the necessary permissions to perform updates on the resources. I tried running the update again and even deleted the stack and recreated it, which worked, but thatโs not a viable solution for ongoing development. Can anyone shed some light on what this 'Resource update cancelled' behavior might mean? Are there best practices or debugging tips for figuring this out? Any help would be appreciated! This is for a microservice running on Debian. Thanks for taking the time to read this!