Skip to content

Commit 232c1dd

Browse files
Vijai NirmalVijai Nirmal
Vijai Nirmal
authored and
Vijai Nirmal
committed
Updated the backend region for terraform
1 parent cd1d46a commit 232c1dd

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.terraform.lock.hcl
2+
.terraform/

backend.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
backend "s3" {
3-
bucket = "my-terraform-state-bobby"
4-
region = "us-east-1"
3+
bucket = "vj-tf-example-bucket-9999"
4+
region = "eu-north-1"
55
key = "s3-github-actions/terraform.tfstate"
66
encrypt = true
77
}

main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
provider "aws" {
2-
region = "us-east-1"
2+
region = "eu-west-2"
33
}
44

55
#tfsec:ignore:aws-s3-enable-bucket-logging
66
resource "aws_s3_bucket" "example" {
7-
bucket = "vj-tf-example-bucket-9999"
7+
bucket = "vj-tf-example-bucket-test"
88
}
99

1010
resource "aws_s3_bucket_ownership_controls" "example" {

0 commit comments

Comments
 (0)