chore: Remove additional resources from fixtures
There's no need to keep i.e. the VPCs in the fixtures for parsing the route table TF state files.main
parent
d40368983c
commit
3fd14d6e2c
|
@ -1,21 +0,0 @@
|
|||
# This file is maintained automatically by "terraform init".
|
||||
# Manual edits may be lost in future updates.
|
||||
|
||||
provider "registry.terraform.io/hashicorp/aws" {
|
||||
version = "3.62.0"
|
||||
constraints = "3.62.0"
|
||||
hashes = [
|
||||
"h1:UjsV2CRiVU3ye7w9AabX6t/bmDuAF5mt+fr63/pfDHQ=",
|
||||
"zh:08a94019e17304f5927d7c85b8f5dade6b9ffebeb7b06ec0643aaa1130c4c85d",
|
||||
"zh:0e3709f6c1fed8c5119a5653bec7e3069258ddf91f62d851f8deeede10487fb8",
|
||||
"zh:0ed32886abce5fee49f1ae49b84472558224366c31a638e51c63061c3126e7c2",
|
||||
"zh:0f1ecbeddfa61d87701a3f3b463e508773171981bf6dad8b1313a9eafaffd5e1",
|
||||
"zh:724cde4f27253b547714a606288ede17f5df67f430438478feed113d7acb5ac7",
|
||||
"zh:81e6e751a168eab1a054230d4441b43c68693bfb6e0545536f2ea6dbb39fe9af",
|
||||
"zh:84deaf1c6661ba0dbc07ac159109fb6746772476646d39854c755c8dfb7a8ac4",
|
||||
"zh:909dcefc6c986c926ad856662ab5d38a3988b1906569387b5b58e7ddd89a155c",
|
||||
"zh:d03886705e9f25d4bebeae115bb07e36adb14e778859cedb2bf3c3bed39f4d2b",
|
||||
"zh:de9fc80c5a5d3be7535856242c823a92516eb7d5c16ae509fa10b92cd6b3fa9b",
|
||||
"zh:e91dcd9eec8b779a9b089f2f8d45f1047f890cb7b9241490451da52c04cef63d",
|
||||
]
|
||||
}
|
|
@ -9,51 +9,5 @@
|
|||
"owner_id": "282061376516",
|
||||
"vpc_id": "vpc-092fed41ffac6df72"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "vpc-092fed41ffac6df72",
|
||||
"Type": "aws_default_vpc",
|
||||
"Attrs": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-092fed41ffac6df72",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "172.31.0.0/16",
|
||||
"default_network_acl_id": "acl-002fc212359c4b93a",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"default_security_group_id": "sg-03760d6acce69ef1f",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": true,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-092fed41ffac6df72",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "vpc-09268173e7934824f",
|
||||
"Type": "aws_vpc",
|
||||
"Attrs": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-09268173e7934824f",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "10.0.0.0/16",
|
||||
"default_network_acl_id": "acl-017254a726eae530a",
|
||||
"default_route_table_id": "rtb-01a82ab505edb8894",
|
||||
"default_security_group_id": "sg-0f6fcfa77cc4c1d4a",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": false,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-09268173e7934824f",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-01a82ab505edb8894",
|
||||
"owner_id": "282061376516"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -35,74 +35,6 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_default_vpc",
|
||||
"name": "default",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 1,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-092fed41ffac6df72",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "172.31.0.0/16",
|
||||
"default_network_acl_id": "acl-002fc212359c4b93a",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"default_security_group_id": "sg-03760d6acce69ef1f",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": true,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-092fed41ffac6df72",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516",
|
||||
"tags": null,
|
||||
"tags_all": {}
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_vpc",
|
||||
"name": "vpc",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 1,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-09268173e7934824f",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "10.0.0.0/16",
|
||||
"default_network_acl_id": "acl-017254a726eae530a",
|
||||
"default_route_table_id": "rtb-01a82ab505edb8894",
|
||||
"default_security_group_id": "sg-0f6fcfa77cc4c1d4a",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": false,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-09268173e7934824f",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-01a82ab505edb8894",
|
||||
"owner_id": "282061376516",
|
||||
"tags": null,
|
||||
"tags_all": {}
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,27 +1,4 @@
|
|||
[
|
||||
{
|
||||
"Id": "vpc-092fed41ffac6df72",
|
||||
"Type": "aws_default_vpc",
|
||||
"Attrs": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-092fed41ffac6df72",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "172.31.0.0/16",
|
||||
"default_network_acl_id": "acl-002fc212359c4b93a",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"default_security_group_id": "sg-03760d6acce69ef1f",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": true,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-092fed41ffac6df72",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "rtb-0a946227959883445",
|
||||
"Type": "aws_route_table",
|
||||
|
@ -37,39 +14,5 @@
|
|||
},
|
||||
"vpc_id": "vpc-0b76cbfa2bd868650"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "vpc-0b76cbfa2bd868650",
|
||||
"Type": "aws_vpc",
|
||||
"Attrs": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-0b76cbfa2bd868650",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "10.0.0.0/16",
|
||||
"default_network_acl_id": "acl-0756d6e7ee3157a39",
|
||||
"default_route_table_id": "rtb-063a0e89788d876fe",
|
||||
"default_security_group_id": "sg-0c1115ed90e99573b",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": false,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-0b76cbfa2bd868650",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-063a0e89788d876fe",
|
||||
"owner_id": "282061376516"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Id": "rtb-03fda555c6c35a1e5",
|
||||
"Type": "aws_default_route_table",
|
||||
"Attrs": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:route-table/rtb-03fda555c6c35a1e5",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516",
|
||||
"vpc_id": "vpc-092fed41ffac6df72"
|
||||
}
|
||||
}
|
||||
]
|
|
@ -5,68 +5,6 @@
|
|||
"lineage": "0a405b90-f526-2004-0d4b-f5fd84ca6664",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_default_route_table",
|
||||
"name": "default",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:route-table/rtb-03fda555c6c35a1e5",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516",
|
||||
"propagating_vgws": null,
|
||||
"route": [],
|
||||
"tags": null,
|
||||
"tags_all": {},
|
||||
"timeouts": null,
|
||||
"vpc_id": "vpc-092fed41ffac6df72"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwfX0=",
|
||||
"dependencies": [
|
||||
"aws_default_vpc.default"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_default_vpc",
|
||||
"name": "default",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 1,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-092fed41ffac6df72",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "172.31.0.0/16",
|
||||
"default_network_acl_id": "acl-002fc212359c4b93a",
|
||||
"default_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"default_security_group_id": "sg-03760d6acce69ef1f",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": true,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-092fed41ffac6df72",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-03fda555c6c35a1e5",
|
||||
"owner_id": "282061376516",
|
||||
"tags": null,
|
||||
"tags_all": {}
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_route_table",
|
||||
|
@ -101,40 +39,6 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_vpc",
|
||||
"name": "vpc",
|
||||
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 1,
|
||||
"attributes": {
|
||||
"arn": "arn:aws:ec2:us-east-1:282061376516:vpc/vpc-0b76cbfa2bd868650",
|
||||
"assign_generated_ipv6_cidr_block": false,
|
||||
"cidr_block": "10.0.0.0/16",
|
||||
"default_network_acl_id": "acl-0756d6e7ee3157a39",
|
||||
"default_route_table_id": "rtb-063a0e89788d876fe",
|
||||
"default_security_group_id": "sg-0c1115ed90e99573b",
|
||||
"dhcp_options_id": "dopt-0e014c87049a96ce5",
|
||||
"enable_classiclink": false,
|
||||
"enable_classiclink_dns_support": false,
|
||||
"enable_dns_hostnames": false,
|
||||
"enable_dns_support": true,
|
||||
"id": "vpc-0b76cbfa2bd868650",
|
||||
"instance_tenancy": "default",
|
||||
"ipv6_association_id": "",
|
||||
"ipv6_cidr_block": "",
|
||||
"main_route_table_id": "rtb-063a0e89788d876fe",
|
||||
"owner_id": "282061376516",
|
||||
"tags": null,
|
||||
"tags_all": {}
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue