Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Format code for module transit_gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianczech committed Jan 13, 2023
1 parent 7cb29ea commit ba5c9cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/transit_gateway/outputs.tf
Original file line number Diff line number Diff line change
@@ -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"]]
}
4 changes: 2 additions & 2 deletions tests/transit_gateway/terraform_full.tfvars
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/transit_gateway/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ variable "transit_gateway_asn" {

variable "transit_gateway_route_tables" {
description = "Transit gateway route tables"
default = { }
default = {}
}

0 comments on commit ba5c9cc

Please sign in to comment.