Skip to content

Refactor Terraform workflow to use GitHub Actions setup and cache #22

Merged
merged 22 commits into from
Oct 9, 2024

Conversation

gomez385
Copy link
Collaborator

@gomez385 gomez385 commented Oct 7, 2024

This commit refactors the Terraform workflow to use the GitHub Actions setup and cache. It removes the unnecessary steps for checking out the repository and blowing up the .terraform directory. It also adds the setup for AWS and GitHub credentials. The Terraform init and plan steps are now using the CSVD/terraform-init and CSVD/terraform-plan actions, respectively, with specific versions and workspace configurations.

This commit refactors the Terraform workflow to use the GitHub Actions setup and cache. It removes the unnecessary steps for checking out the repository and blowing up the .terraform directory. It also adds the setup for AWS and GitHub credentials. The Terraform init and plan steps are now using the CSVD/terraform-init and CSVD/terraform-plan actions, respectively, with specific versions and workspace configurations.
Copy link
Collaborator

@morga471 morga471 left a comment

Choose a reason for hiding this comment

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

LGTM!

@arnol377 arnol377 closed this Oct 9, 2024
@arnol377 arnol377 reopened this Oct 9, 2024
@arnol377 arnol377 merged commit 0f44bd0 into main Oct 9, 2024
2 of 4 checks passed
@arnol377 arnol377 deleted the composite_actions branch October 9, 2024 23:03
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
3 participants