CDK deploy stopped updating playbook.zip asset #25873
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
needs-reproduction
This issue needs reproduction.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I use an ansible playbook to configure my ec2 instances. I create an s3 asset for the playbook directory which gets put into a zip file. I then download the playbook in my userdata, unzip it, and run it. Until the last day, when I'd update any file in the playbook and deployed the stack, the asset would get updated which would cause a userdata change which would cause the instance to reboot and run the new playbook contents (I have userdata configured to rerun on reboot).
Now, I'm not seeing the userdata change and it keeps downloading the old asset. This has been working for over a year, so why has this suddenly stopped working? This is a complex CDK and I'm not quite sure how to debug this. It seems like core CDK functionality has just ceased to work.
Expected Behavior
New cdk asset gets uploaded to S3 and the asset reference in the userdata changes, instance gets stoppped/started, userdata runs and gets the latest asset.
Current Behavior
Asset doesn't change. Ansible runs with old playbook contents.
Reproduction Steps
Change file in asset directory.
Update stack.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.69.0
Framework Version
No response
Node.js Version
16.15.0
OS
Amazon Linux 2
Language
Python
Language Version
3.7.16
Other information
No response
The text was updated successfully, but these errors were encountered: