This commit is contained in:
18
state.tf
18
state.tf
@@ -1,12 +1,12 @@
|
|||||||
terraform {
|
terraform {
|
||||||
backend "local" {
|
# backend "local" {
|
||||||
path = "terraform.tfstate"
|
# path = "terraform.tfstate"
|
||||||
}
|
|
||||||
# backend "s3" {
|
|
||||||
# bucket = "terraform-cloudflare-dns-zone"
|
|
||||||
# key = "prod/terraform.tfstate"
|
|
||||||
# region = "eu-north-1"
|
|
||||||
# dynamodb_table = "shoppr-tfstate-locking"
|
|
||||||
# encrypt = true
|
|
||||||
# }
|
# }
|
||||||
|
backend "s3" {
|
||||||
|
bucket = "terraform-cloudflare-bucket"
|
||||||
|
key = "prod/terraform.tfstate"
|
||||||
|
region = "eu-north-1"
|
||||||
|
dynamodb_table = "shoppr-tfstate-locking"
|
||||||
|
encrypt = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user