Skip to content

Commit

Permalink
Move all state bootstrap files to a single directory
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Sep 24, 2024
1 parent 6a569b1 commit 31dd6a0
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 30 deletions.
10 changes: 0 additions & 10 deletions web/deploy/terraform/production/bootstrap/state_storage/main.tf

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions web/deploy/terraform/staging/bootstrap/state_storage/main.tf

This file was deleted.

This file was deleted.

13 changes: 13 additions & 0 deletions web/deploy/terraform/state/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
terraform {
required_version = ">= 1.0.0, < 2.0.0"
}

module "stage_state" {
source = "./bootstrap/"
environment = "stage"
}

module "prod_state" {
source = "./bootstrap/"
environment = "prod"
}

0 comments on commit 31dd6a0

Please sign in to comment.