diff --git a/pkg/iac/terraform/state/test/route_assoc/result.golden.json b/pkg/iac/terraform/state/test/route_assoc/result.golden.json index 7ee1e0bc..7e81a356 100755 --- a/pkg/iac/terraform/state/test/route_assoc/result.golden.json +++ b/pkg/iac/terraform/state/test/route_assoc/result.golden.json @@ -1,30 +1,38 @@ [ { - "GatewayId": null, - "Id": "rtbassoc-01957791b2cfe6ea4", - "RouteTableId": "rtb-05aa6c5673311a17b", - "SubnetId": "subnet-0e93dbfa2e5dd8282", - "CtyVal": {} - }, - { - "GatewayId": null, - "Id": "rtbassoc-0809598f92dbec03b", - "RouteTableId": "rtb-05aa6c5673311a17b", - "SubnetId": "subnet-05185af647b2eeda3", - "CtyVal": {} - }, - { - "GatewayId": null, - "Id": "rtbassoc-0b4f97ea57490e213", - "RouteTableId": "rtb-05aa6c5673311a17b", - "SubnetId": "subnet-0fd966efd884d0362", - "CtyVal": {} - }, - { - "GatewayId": "igw-0238f6e09185ac954", "Id": "rtbassoc-0a79ccacfceb4944b", - "RouteTableId": "rtb-09df7cc9d16de9f8f", - "SubnetId": null, - "CtyVal": {} + "Type": "aws_route_table_association", + "Attrs": { + "gateway_id": "igw-0238f6e09185ac954", + "id": "rtbassoc-0a79ccacfceb4944b", + "route_table_id": "rtb-09df7cc9d16de9f8f" + } + }, + { + "Id": "rtbassoc-01957791b2cfe6ea4", + "Type": "aws_route_table_association", + "Attrs": { + "id": "rtbassoc-01957791b2cfe6ea4", + "route_table_id": "rtb-05aa6c5673311a17b", + "subnet_id": "subnet-0e93dbfa2e5dd8282" + } + }, + { + "Id": "rtbassoc-0809598f92dbec03b", + "Type": "aws_route_table_association", + "Attrs": { + "id": "rtbassoc-0809598f92dbec03b", + "route_table_id": "rtb-05aa6c5673311a17b", + "subnet_id": "subnet-05185af647b2eeda3" + } + }, + { + "Id": "rtbassoc-0b4f97ea57490e213", + "Type": "aws_route_table_association", + "Attrs": { + "id": "rtbassoc-0b4f97ea57490e213", + "route_table_id": "rtb-05aa6c5673311a17b", + "subnet_id": "subnet-0fd966efd884d0362" + } } ] \ No newline at end of file diff --git a/pkg/resource/resource.go b/pkg/resource/resource.go index 329bec60..1e32a68a 100644 --- a/pkg/resource/resource.go +++ b/pkg/resource/resource.go @@ -55,7 +55,7 @@ var refactoredResources = []string{ // "aws_route53_record", // "aws_route53_zone", "aws_route_table", - // "aws_route_table_association", + "aws_route_table_association", "aws_s3_bucket", "aws_s3_bucket_analytics_configuration", "aws_s3_bucket_inventory",