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

Issue deploying CDK without the custom resource updating. #30094

Open
jacido opened this issue May 7, 2024 · 3 comments
Open

Issue deploying CDK without the custom resource updating. #30094

jacido opened this issue May 7, 2024 · 3 comments
Labels
bug This issue is a bug. effort/medium Medium work item – several days of effort p2 package/tools Related to AWS CDK Tools or CLI

Comments

@jacido
Copy link

jacido commented May 7, 2024

Describe the bug

A CDK custom resource is unexpectedly updating causing a dependency issue.
They have not made any changes to the custom resource change set. and they do not want it to change.

Error:
Received response status [FAILED] from custom resource. Message returned: Package @aws-sdk/client-kafka does not exist. (RequestId: XXXXXXX-39c5-XXXe-8160-XXX1821XXXXX)

Expected Behavior

Not expected behavior.

Current Behavior

The stack failed to deploy due to dependency issues. The this stack has an EXPORT that is being used many consuming stacks it's the custom resource named ClusterBootstrapBrokersBootstrapBrokerStringXXXXXXXXXXXX that is being updated causing the dependency issue.
They have not made any changes to the custom resource change set. and they do not want it to change.

Reproduction Steps

TBD

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.118

Framework Version

No response

Node.js Version

nodejs18.x

OS

N/A

Language

Python

Language Version

Python

Other information

Attached screenshot of cdk diff results comparing code to being deployed and the current production state. They are using CDK library 2.118

Screenshot 2024-05-06 at 3 46 41 PM

@jacido jacido added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 7, 2024
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label May 7, 2024
@jacido jacido changed the title Deploy without the custom resource updating. Issue deploying CDK without the custom resource updating. May 7, 2024
@coolbitxColma
Copy link

Same issue with you but in other package:




❌  bridge-api-v2-dev failed: Error: The stack named XXXXXXXX failed to deploy: UPDATE_ROLLBACK_FAILED (The following resource(s) failed to update: [XXXXXXX]. ): Received response status [FAILED] from custom resource. Message returned: Package @aws-sdk/client-ssm does not exist. (RequestId:XXXXXXXXXXX)

@pahud
Copy link
Contributor

pahud commented May 8, 2024

probably related to #30067

@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels May 8, 2024
@aalanzhao
Copy link

aalanzhao commented May 8, 2024

Today before another round of CDK deployment, we did cdk diff on the stack, it shows no changes comparing the production environment. However, the actual deployment dies on the custom resource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. effort/medium Medium work item – several days of effort p2 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

4 participants