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

fix(integ-runner): asset hashes of nested stack templates are not ignored #22847

Closed

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Nov 9, 2022

Nested stack templates can contain assets and the hash is therefore going to change anytime an asset changes inside the nested stack. This defeats the purpose of diffAsset: false.
The actual nested stack template is still part of the snapshot, so any changes other than assets in the nested such l stack will require redeployment.


All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Nov 9, 2022

@mrgrain mrgrain changed the title fix(integ-runner): asset hashes of nested stack templates are not ign… fix(integ-runner): asset hashes of nested stack templates are not ignored Nov 9, 2022
@github-actions github-actions bot added the p2 label Nov 9, 2022
@aws-cdk-automation aws-cdk-automation requested a review from a team November 9, 2022 14:20
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Nov 9, 2022
@mrgrain mrgrain force-pushed the mrgrain/fix/integ-test-ignore-stack-assets branch 2 times, most recently from 41ee4c5 to 0f54a68 Compare November 9, 2022 15:13
@mrgrain mrgrain force-pushed the mrgrain/fix/integ-test-ignore-stack-assets branch from 0f54a68 to 8aa9630 Compare November 9, 2022 15:45
@mrgrain mrgrain marked this pull request as ready for review November 9, 2022 15:46
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 8aa9630
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mrgrain mrgrain added the pr/do-not-merge This PR should not be merged at this time. label Nov 9, 2022
@mrgrain mrgrain marked this pull request as draft November 11, 2022 10:22
@mrgrain mrgrain closed this Nov 16, 2022
@mrgrain
Copy link
Contributor Author

mrgrain commented Nov 16, 2022

Closed in favor of #22881

@mrgrain mrgrain deleted the mrgrain/fix/integ-test-ignore-stack-assets branch July 26, 2023 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. p2 pr/do-not-merge This PR should not be merged at this time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants