From e10eb9f7717aa0f3a47f4cd7d85d067e6b3e8c9b Mon Sep 17 00:00:00 2001 From: diodonfrost Date: Sun, 20 Dec 2020 13:43:27 +0100 Subject: [PATCH] refactor(terraform): apply terraform fmt The terraform fmt command is used to rewrite Terraform configuration files to a canonical format and style. This command applies a subset of the Terraform language style conventions, along with other minor adjustments for readability. This commit apply terraform fmt command to fix deprecated interpolation syntax and code indentation. https://github.com/diodonfrost/terraform-aws-lambda-nuke/issues/3 --- examples/analytic/msk/main.tf | 2 +- examples/compute/dlm-nuke/main.tf | 4 ++-- examples/test_fixture/main.tf | 4 ++-- main.tf | 26 +++++++++++++------------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/examples/analytic/msk/main.tf b/examples/analytic/msk/main.tf index 6ddf79f..27b5f3d 100644 --- a/examples/analytic/msk/main.tf +++ b/examples/analytic/msk/main.tf @@ -38,7 +38,7 @@ resource "aws_msk_cluster" "nuke" { number_of_broker_nodes = 3 broker_node_group_info { - instance_type = "kafka.m5.large" + instance_type = "kafka.m5.large" ebs_volume_size = 1000 client_subnets = [ aws_subnet.az1.id, diff --git a/examples/compute/dlm-nuke/main.tf b/examples/compute/dlm-nuke/main.tf index db10e98..a2bef2d 100644 --- a/examples/compute/dlm-nuke/main.tf +++ b/examples/compute/dlm-nuke/main.tf @@ -24,7 +24,7 @@ EOF resource "aws_iam_role_policy" "nuke" { name = "dlm-lifecycle-policy" - role = "${aws_iam_role.nuke.id}" + role = aws_iam_role.nuke.id policy = <