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

ci: extend workflows with Terraform functionality #24

Merged
merged 27 commits into from
Mar 11, 2024

Conversation

JoshuaLicense
Copy link
Contributor

@JoshuaLicense JoshuaLicense commented Mar 5, 2024

Description

  • Adds 2 GitHub OIDC assumable roles. Readonly role for pull_request events, and a more permissive role for applying Terraform that is available on push to the default branch.
  • Adds an S3 and Dynamodb to handle state (& locking).
  • Add CI workflows to plan Terraform and post the output to a pull request.

Before submitting (or marking as "ready for review")

  • Does the pull request title follow the conventional commit specification?
  • Have you performed a self-review of the code
  • Have you have added tests that prove the fix or feature is effective and working
  • Did you make sure to update any documentation relating to this change?

@JoshuaLicense JoshuaLicense self-assigned this Mar 5, 2024
Copy link
Contributor

github-actions bot commented Mar 6, 2024

Terraform plan for account: nonprod

Commit: 6206686

Plan summary

0 to add, 0 to change, 0 to destroy


Show full plan
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Copy link
Contributor

github-actions bot commented Mar 7, 2024

Terraform plan for environment: dev

Commit: 6206686

API version: be6a3c6
Selfserve version: be6a3c6
Internal version: be6a3c6

Plan summary

0 to add, 0 to change, 0 to destroy


Show full plan
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

@JoshuaLicense JoshuaLicense marked this pull request as ready for review March 7, 2024 15:54
fibble
fibble previously approved these changes Mar 7, 2024
@JoshuaLicense JoshuaLicense merged commit a1d4494 into main Mar 11, 2024
8 checks passed
@JoshuaLicense JoshuaLicense deleted the add-terraform-workflows branch March 11, 2024 10:15
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.

3 participants