We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3804ea4 commit 57b7c16Copy full SHA for 57b7c16
1 file changed
bootstrap/main.tf
@@ -67,6 +67,21 @@ resource "aws_s3_bucket_public_access_block" "public_access_block" {
67
restrict_public_buckets = true
68
}
69
70
+resource "aws_dynamodb_table" "dynamodb_terraform_state_lock" {
71
+ name = "ndr-terraform-locks"
72
+ hash_key = "LockID"
73
+ read_capacity = 20
74
+ write_capacity = 20
75
+
76
+ attribute {
77
+ name = "LockID"
78
+ type = "S"
79
+ }
80
+ lifecycle {
81
+ prevent_destroy = true
82
83
+}
84
85
data "aws_caller_identity" "current" {}
86
87
variable "region" {
0 commit comments