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(terraform): cache not restored in Apply job #627

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

hknutsen
Copy link
Member

@hknutsen hknutsen commented Jan 7, 2025

The Terraform Apply job does not restore cache if the Terraform Plan job does not save cache. This causes an error in scenarios where cache already exists, and it'll only be restored in the Terraform Plan job but not the Terraform Apply job.

The `Terraform Apply` job does not restore cache if the `Terraform Plan` job does not save cache. This causes an error in scenarios where cache already exists, and it'll only be restored in the `Terraform Plan` job but not the `Terraform Apply` job.
@hknutsen hknutsen added the bug Something isn't working label Jan 7, 2025
@hknutsen
Copy link
Member Author

hknutsen commented Jan 7, 2025

Has been manually tested and verified to work in another repo where this workflow is used 🙂

@hknutsen hknutsen marked this pull request as ready for review January 7, 2025 09:26
@hknutsen hknutsen requested a review from a team as a code owner January 7, 2025 09:26
@hknutsen hknutsen merged commit a6ffd90 into main Jan 7, 2025
9 checks passed
@hknutsen hknutsen deleted the fix/terraform/cache-not-restored-in-apply-job branch January 7, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants