Skip to content

Commit

Permalink
CCL-864/module for tgw-static-routes (#188)
Browse files Browse the repository at this point in the history
* adding tgw-static-routes module

* updated input file format from json to yaml
  • Loading branch information
parav24 authored Oct 14, 2024
1 parent a5970f2 commit db73f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aws/networking/tgw-static-routes/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data "aws_ec2_transit_gateway_route_table" "tgw_rt" {

# Read routes from the text file (routes.json)
locals {
routes = jsondecode(var.static_routes_file)
routes = yamldecode(var.static_routes_file)
}

# Add static routes to the TGW route table using the data from the text file
Expand Down

0 comments on commit db73f39

Please sign in to comment.