3 ms·
I store terraform state in s3 with dynamodb locking. It looks like this: #backend/state uses less priv keys terraform { backend "s3" { b
by liveoneggs 8y ago
I store terraform state in s3 with dynamodb locking. It looks like this:
#backend/state uses less priv keys
terraform {
backend "s3" {
bucket = "mystatebucketisunique-tf"
key = "states/tf/tf.tfstate"
region = "us-east-1"
lock_table = "lock-tf"
profile = "aws_tf_s3-prof"
}
}
So for an entirely new env I have to setup that bucket and the dynamodb table