Refacto aws_route_table_association

main
William Beuil 2021-05-17 11:40:41 +02:00
parent bdb4740c39
commit 1579ffc584
No known key found for this signature in database
GPG Key ID: BED2072C5C2BF537
2 changed files with 34 additions and 26 deletions

View File

@ -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", "Id": "rtbassoc-0a79ccacfceb4944b",
"RouteTableId": "rtb-09df7cc9d16de9f8f", "Type": "aws_route_table_association",
"SubnetId": null, "Attrs": {
"CtyVal": {} "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"
}
} }
] ]

View File

@ -55,7 +55,7 @@ var refactoredResources = []string{
// "aws_route53_record", // "aws_route53_record",
// "aws_route53_zone", // "aws_route53_zone",
"aws_route_table", "aws_route_table",
// "aws_route_table_association", "aws_route_table_association",
"aws_s3_bucket", "aws_s3_bucket",
"aws_s3_bucket_analytics_configuration", "aws_s3_bucket_analytics_configuration",
"aws_s3_bucket_inventory", "aws_s3_bucket_inventory",