Skip to content

Commit e4a15f0

Browse files
committed
👌 IMPROVE: tf fmt
1 parent cefe359 commit e4a15f0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/basic/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module "tags" {
2929
module "backend" {
3030
source = "../.."
3131

32-
bucket = "${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}-${module.tags.name}"
32+
bucket = "${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}-${module.tags.name}"
3333
kms_alias_name = "${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}-${module.tags.name}"
34-
tags = module.tags.tags
34+
tags = module.tags.tags
3535
}

kms.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ resource "aws_kms_key" "this" {
4646

4747
resource "aws_kms_alias" "this" {
4848
count = var.kms_key_id == "" ? 1 : 0
49-
name = "alias/${var.kms_alias_name != "" ? var.kms_alias_name : "tf_backend_key" }"
49+
name = "alias/${var.kms_alias_name != "" ? var.kms_alias_name : "tf_backend_key"}"
5050
target_key_id = aws_kms_key.this[0].id
5151
}

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "aws_s3_bucket" "this" {
5454
}
5555

5656
resource "aws_s3_bucket_public_access_block" "this" {
57-
depends_on = [aws_s3_bucket_policy.this]
57+
depends_on = [aws_s3_bucket_policy.this]
5858
count = var.remote_bucket == "" ? 1 : 0
5959
bucket = aws_s3_bucket.this[0].id
6060
block_public_acls = true

0 commit comments

Comments
 (0)