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

Apply terraform configs in CI/CD #131

Open
DominicRoyStang opened this issue Jul 2, 2020 · 0 comments
Open

Apply terraform configs in CI/CD #131

DominicRoyStang opened this issue Jul 2, 2020 · 0 comments
Assignees
Labels
technical task Engineering work
Projects

Comments

@DominicRoyStang
Copy link
Member

DominicRoyStang commented Jul 2, 2020

Currently, I run terraform apply from the terminal whenever I make changes. Terraform documentation on running in automation: https://learn.hashicorp.com/terraform/development/running-terraform-in-automation

As a developer, I want terraform apply to be run in CI/CD (on merges to master) so that I can have a guarantee that the files in the terraform/ folder match the configuration on the production cloud.

A big benefit from this is that I would (as a follow-up task) be able to re-map outputs from terraform apply to inputs to helm.
That would reduce duplication of variables between Terraform and Helm. There's also things that I currently hard-code in Helm that could become variables based on the terraform outputs (eg. the ingress ip).

@DominicRoyStang DominicRoyStang created this issue from a note in To-do (To do) Jul 2, 2020
@DominicRoyStang DominicRoyStang self-assigned this Jul 2, 2020
@DominicRoyStang DominicRoyStang added the technical task Engineering work label Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical task Engineering work
Projects
To-do
  
To do
Development

No branches or pull requests

1 participant