Skip to content

Commit

Permalink
Updated bucket & dyanmo name for Terraform state (#204)
Browse files Browse the repository at this point in the history
The s3 bucket and dyanmo DB tables was not created in IAC in the shared
services AWS account. To resolve this we created a new S3 bucket and
dynmo DB table within IAC and copied the contents of the old IAC bucket
to the new bucket
  • Loading branch information
jamesgreen-moj authored Oct 12, 2023
1 parent e4a39d5 commit af31bd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ terraform.tfstate
*.crt
*.tfvars
*.tfstate.*
.infracost/
.infracost/
.terraform-version
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform {
backend "s3" {
bucket = "staff-infrastructure-monitoring-cluster-tf-state"
dynamodb_table = "staff-infrastructure-monitoring-cluster-tf-lock-table"
bucket = "staff-ci-infrastructure-client-monitoring-cluster-tf-state"
dynamodb_table = "staff-ci-infrastructure-client-monitoring-cluster-tf-lock-table"
region = "eu-west-2"
}
}
Expand Down

0 comments on commit af31bd7

Please sign in to comment.