From ee9eecf14c6cf262806dd413a960e9c0df8fac0c Mon Sep 17 00:00:00 2001 From: arnol377 Date: Tue, 24 Sep 2024 01:31:03 -0400 Subject: [PATCH] state migration --- backend.tf | 4 ++-- main.tf | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/backend.tf b/backend.tf index aa514fb..4683cb6 100644 --- a/backend.tf +++ b/backend.tf @@ -1,8 +1,8 @@ terraform { backend "s3" { - bucket = "inf-tfstate-229685449397" + bucket = "inf-tfstate-us-gov-west-1-229685449397" key = "csvd-dev-gov/common/apps/terraform-repos" - region = "us-gov-east-1" + region = "us-gov-west-1" dynamodb_table = "tf_remote_state" } } diff --git a/main.tf b/main.tf index bfe4667..e725af3 100644 --- a/main.tf +++ b/main.tf @@ -192,6 +192,23 @@ module "elastic_beanstalk_nodejs" { } +module "test-statefile" { + source = "HappyPathway/repo/github" + #github_codeowners_team = "CSVD" + github_repo_description = "Terraform Workspace for creating Elastic Beanstalk Apps and Environments" + repo_org = "CSVD" + name = "test-statefile" + github_repo_topics = [ + "terraform" + ] + is_template = true + force_name = true + create_codeowners = false + enforce_prs = false + collaborators = local.collaborators + pull_request_bypassers = local.pull_request_bypassers +} + module "elastic_beanstalk_docker" { source = "HappyPathway/repo/github"