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

GitHub Actions Terraform workflow #10

Merged
merged 8 commits into from
Nov 22, 2023

Conversation

aaroncarlucci
Copy link
Owner

This PR addresses #4 to install the Terraform executable into the build environment, run formatting checks and initialize a temporary local workspace by passing backend-config parameters with values initialized by the Github environment and secrets contexts. I then applies the Terraform using the -auto-apply flag and populates variables to the Terraform definition by expecting a file named conventionally with the Github environment name, ex:

/terraform/.terraform/{environment-name}.tfvars

@aaroncarlucci aaroncarlucci self-assigned this Nov 22, 2023
@aaroncarlucci aaroncarlucci merged commit 02bdadf into develop Nov 22, 2023
1 check passed
@aaroncarlucci aaroncarlucci deleted the feature/github-workflow-terraform branch November 22, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant