Use a lockable state repository.
Also, make use of terraform workspaces.
This commit is contained in:
9
eks/init.tf
Normal file
9
eks/init.tf
Normal file
@ -0,0 +1,9 @@
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "terraform-state-infra-aws-eks"
|
||||
key = "global/s3/terraform.eks.tfstate"
|
||||
region = "eu-west-3"
|
||||
dynamodb_table = "terraform-state-locks-infra-aws-eks"
|
||||
encrypt = true
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user