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: DBTP-913 - Run terraform plan in environment pipelines #110

Merged
merged 77 commits into from
May 2, 2024

Conversation

JohnStainsby
Copy link
Contributor

@JohnStainsby JohnStainsby commented May 1, 2024

  • Add permissions to CodeBuild role to allow Terraform access to the resources it needs
  • Run terraform init and terraform plan in the pipeline
  • Move domain provider into terraform-platform-modules/extensions/providers.tf

@JohnStainsby JohnStainsby marked this pull request as ready for review May 2, 2024 08:34
@JohnStainsby JohnStainsby requested a review from a team May 2, 2024 08:34
@@ -35,7 +35,11 @@ phases:

build:
commands:
- echo "Build Phase"
- echo "Terraform Plan Phase"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these commands fall under the pre_build phase?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes probably once the rest of the copilot and platform-helper commands are added. This stuff is most likely going to be moved to a separate buildspec file anyway to work with a plan -> manual approve -> apply process

@JohnStainsby JohnStainsby merged commit a66f04a into main May 2, 2024
6 checks passed
@JohnStainsby JohnStainsby deleted the DBTP-913-Pipleline-tf-plan branch May 2, 2024 15:48
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.

4 participants