From ba5c9cc5a859ca4a58ba87cc767bbc5846114e9d Mon Sep 17 00:00:00 2001 From: Sebastian Czech Date: Fri, 13 Jan 2023 08:15:12 +0100 Subject: [PATCH] Format code for module transit_gateway --- tests/transit_gateway/outputs.tf | 6 +++--- tests/transit_gateway/terraform_full.tfvars | 4 ++-- tests/transit_gateway/variables.tf | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/transit_gateway/outputs.tf b/tests/transit_gateway/outputs.tf index 4eeef45f..b615c179 100644 --- a/tests/transit_gateway/outputs.tf +++ b/tests/transit_gateway/outputs.tf @@ -1,11 +1,11 @@ output "tgw_id" { - value = module.transit_gateway.transit_gateway.id + value = module.transit_gateway.transit_gateway.id } output "tgw_arn" { - value = module.transit_gateway.transit_gateway.arn + value = module.transit_gateway.transit_gateway.arn } output "tgw_route_tables" { - value = [for k,v in module.transit_gateway.route_tables : v.tags["Name"] ] + value = [for k, v in module.transit_gateway.route_tables : v.tags["Name"]] } diff --git a/tests/transit_gateway/terraform_full.tfvars b/tests/transit_gateway/terraform_full.tfvars index 23a96b13..5ab3a434 100644 --- a/tests/transit_gateway/terraform_full.tfvars +++ b/tests/transit_gateway/terraform_full.tfvars @@ -1,8 +1,8 @@ region = "us-east-1" name_prefix = "test_tgw_" -transit_gateway_name = "tgw" -transit_gateway_asn = "65200" +transit_gateway_name = "tgw" +transit_gateway_asn = "65200" transit_gateway_route_tables = { "from_security_vpc" = { create = true diff --git a/tests/transit_gateway/variables.tf b/tests/transit_gateway/variables.tf index 8e459af4..8e66d6d5 100644 --- a/tests/transit_gateway/variables.tf +++ b/tests/transit_gateway/variables.tf @@ -22,5 +22,5 @@ variable "transit_gateway_asn" { variable "transit_gateway_route_tables" { description = "Transit gateway route tables" - default = { } + default = {} }