Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudformation: Could not perform a hotswap deployment, because the CloudFormation template could not be resolved. #30577

Open
karmabadger opened this issue Jun 17, 2024 · 6 comments
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation bug This issue is a bug. effort/small Small work item – less than a day of effort p2

Comments

@karmabadger
Copy link

Describe the bug

When running deployment with hotswap, I got:

Could not perform a hotswap deployment, because the CloudFormation template could not be resolved: We don't support the 'StreamArn' attribute of the 'AWS::DynamoDB::Table' resource. This is a CDK limitation. Please report it at https://github.com/aws/aws-cdk/issues/new/choose
Falling back to doing a full deployment

reporting this since it was told to do so.

Expected Behavior

I expected this to perform the hotswap.

Current Behavior

It does not perform the hotswap.

Reproduction Steps

NA

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.145

Framework Version

No response

Node.js Version

18.18.2

OS

MacOS

Language

TypeScript

Language Version

No response

Other information

No response

@karmabadger karmabadger added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 17, 2024
@github-actions github-actions bot added the @aws-cdk/aws-cloudformation Related to AWS CloudFormation label Jun 17, 2024
@ashishdhingra ashishdhingra changed the title (module name): (short issue description) cloudformation: Could not perform a hotswap deployment, because the CloudFormation template could not be resolved. Jun 18, 2024
@ashishdhingra ashishdhingra self-assigned this Jun 18, 2024
@ashishdhingra
Copy link
Contributor

@karmabadger Good morning. Could you please share your CDK code for which you want to use hotswap deployment? Please also check if:

Thanks,
Ashish

@ashishdhingra ashishdhingra added p2 response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. effort/small Small work item – less than a day of effort and removed needs-triage This issue or PR still needs to be triaged. labels Jun 18, 2024
@karmabadger
Copy link
Author

Hi, I can't post the code as I don't have permission to share it here.

@karmabadger
Copy link
Author

I would say it is probably similar to that other issue just that it is not the same type of resource.

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jun 18, 2024
@potatoboiler
Copy link

Making a note that the same error shows up for stacks containing AWS::ElastiCache::ReplicationGroup.

@karmabadger
Copy link
Author

this is pretty useful as each deploys are taking me over 600 seconds just because they cannot hotswap here.

@ashishdhingra
Copy link
Contributor

Hi, I can't post the code as I don't have permission to share it here.

@karmabadger May be share the bare minimal code sample (not the entire code) to troubleshoot the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation bug This issue is a bug. effort/small Small work item – less than a day of effort p2
Projects
None yet
Development

No branches or pull requests

3 participants