Skip to content

feat(infra): add staging Terraform workspace#936

Merged
Xoulomon merged 1 commit into
Xoulomon:mainfrom
marvs8:feat/staging-terraform-workspace
May 30, 2026
Merged

feat(infra): add staging Terraform workspace#936
Xoulomon merged 1 commit into
Xoulomon:mainfrom
marvs8:feat/staging-terraform-workspace

Conversation

@marvs8
Copy link
Copy Markdown
Contributor

@marvs8 marvs8 commented May 30, 2026

Summary

Sets up a separate staging Terraform workspace that mirrors production infrastructure at reduced scale for pre-release testing.

Changes

  • infra/environments/staging.tfvars — variable values for staging: db.t3.micro, no multi-AZ, testnet, staging.stellar-save.app
  • infra/environments/staging.backend.hcl — partial backend config pointing to the shared stellar-save-terraform-state S3 bucket with key staging/terraform.tfstate
  • .github/workflows/deploy-staging.yml — dedicated workflow triggered on PRs to main for infra/** changes; runs terraform plan and posts the output as a PR comment

Testing

Workflow triggers on this PR itself (infra path filter). Plan will run against the staging environment.

Closes #857

- staging.tfvars: db.t3.micro, no multi_az, testnet
- staging.backend.hcl: S3 remote state backend config
- deploy-staging.yml: plan on PRs to main, comments output

Closes Xoulomon#857
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@marvs8 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Xoulomon Xoulomon merged commit ad85a63 into Xoulomon:main May 30, 2026
16 of 40 checks passed
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.

[DevOps] Create staging environment Terraform workspace

2 participants