Skip to content

Commit

Permalink
make a dummy change
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshCasper committed Jun 14, 2022
1 parent 057292f commit cc7af7f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/infracost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
filters: |
aws:
- 'qhub/template/stages/02-infrastructure/aws/**'
- 'qhub/template/stages/01-terraform-state/aws/**'
gcp:
- 'qhub/template/stages/02-infrastructure/gcp/**'
azure:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
resource "aws_s3_bucket" "terraform-state" {
bucket = "${var.name}-terraform-state"
acl = "private"
# resource "aws_s3_bucket" "terraform-state" {
# bucket = "${var.name}-terraform-state"
# acl = "private"

force_destroy = true
# force_destroy = true

versioning {
enabled = true
}
# versioning {
# enabled = true
# }

tags = merge({ Name = "S3 remote terraform state store" }, var.tags)
}
# tags = merge({ Name = "S3 remote terraform state store" }, var.tags)
# }

resource "aws_dynamodb_table" "terraform-state-lock" {
name = "${var.name}-terraform-state-lock"
# resource "aws_dynamodb_table" "terraform-state-lock" {
# name = "${var.name}-terraform-state-lock"

read_capacity = 1
write_capacity = 1
hash_key = "LockID"
# read_capacity = 1
# write_capacity = 1
# hash_key = "LockID"

attribute {
name = "LockID"
type = "S"
}
# attribute {
# name = "LockID"
# type = "S"
# }

tags = merge({ Name = "DynamoDB table for locking terraform state store" }, var.tags)
}
# tags = merge({ Name = "DynamoDB table for locking terraform state store" }, var.tags)
# }

0 comments on commit cc7af7f

Please sign in to comment.