Make bootstrap and prod setup configurable#10
Open
WhiteRow33 wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR makes the AWS/Terraform/Helm production setup configurable through GitHub repository variables and updates the deployment docs for a fresh bootstrap-to-prod flow.
Changes:
- Converts Terraform prod backend and Plane naming defaults to configurable inputs.
- Updates GitHub Actions workflows to derive AWS, Terraform, Kubernetes, and Helm settings from repo vars.
- Removes hardcoded Helm values and expands setup documentation.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
terraform/environments/prod/versions.tf |
Switches prod backend to partial S3 backend config. |
terraform/environments/prod/variables.tf |
Adds configurable Plane release/service account/namespace inputs. |
terraform/environments/prod/main.tf |
Derives Plane Kubernetes naming locals for IRSA trust. |
terraform/environments/bootstrap/variables.tf |
Adds configurable Terraform state bucket prefix. |
terraform/environments/bootstrap/main.tf |
Uses the configurable state bucket prefix. |
README.md |
Documents configurable setup and zero-to-deploy flow. |
helm/plane/values/dev.yaml |
Removes hardcoded Plane/S3/ALB defaults. |
helm/plane/templates/doc-store-secret.yaml |
Renders the doc-store secret only when explicitly configured. |
.github/workflows/terraform-prod.yml |
Wires repo vars into Terraform init/apply and Helm deploy. |
.github/workflows/terraform-bootstrap.yml |
Wires repo vars into bootstrap workflow and expands path filters. |
.github/README-OIDC.md |
Updates OIDC setup documentation for configurable deployment. |
.github/iam/terraform-prod-policy.json |
Relaxes account/region/name hardcoding in Terraform IAM permissions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PLANE_APP_HOSTis unsetValidation
terraform fmt -recursive terraformterraform validatefor bootstrap and prod with backend disabled