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

feat(lib): make asset paths change if asset content changes #769

Merged
merged 2 commits into from Aug 11, 2021

Conversation

DanielMSchmidt
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt commented Jun 9, 2021

Closes #762

@@ -3,10 +3,10 @@
exports[`full integration test deploy in Terraform Cloud 1`] = `
"Deploying Stack: hello-terra
Resources
 NULL_RESOURCE test null_resource.test
~ NULL_RESOURCE test null_resource.test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I hoped that it was fixed with the JSON parsing

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try a rebase, unsure if it has been lately

@DanielMSchmidt DanielMSchmidt force-pushed the unique-asset-paths branch 2 times, most recently from cf896a6 to 6585e3f Compare June 17, 2021 15:00
@DanielMSchmidt DanielMSchmidt force-pushed the unique-asset-paths branch 2 times, most recently from 0b02972 to 21d32ad Compare June 29, 2021 09:44
@danieldreier danieldreier added this to the 0.6 milestone Jul 2, 2021
@DanielMSchmidt DanielMSchmidt force-pushed the unique-asset-paths branch 2 times, most recently from 4269fca to 174f26a Compare July 28, 2021 12:05
@DanielMSchmidt DanielMSchmidt force-pushed the unique-asset-paths branch 7 times, most recently from 14979ba to b3830ea Compare August 9, 2021 11:27
Copy link
Contributor

@skorfmann skorfmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there plans to deal with stale assets as well?

@DanielMSchmidt
Copy link
Contributor Author

@skorfmann I added this now, I don't think it's necessary right now as we clean the entire directory in the beginning, but now we can be sure we don't break anything once we change this behavior

this will be necessary once we stop removing the entire out folder on synth
@DanielMSchmidt DanielMSchmidt merged commit 720d6a7 into main Aug 11, 2021
@DanielMSchmidt DanielMSchmidt deleted the unique-asset-paths branch August 11, 2021 15:34
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2022

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TerraformAsset not uploading assets that has been updated
5 participants