AWS-Import-Terraform
Import Commands
terraform import aws_security_group.Terraform-SG sg-004a3f5bdc675a2eb terraform import aws_vpc.Terraform-VPC vpc-01b001b6d28e8fe52 terraform import aws_subnet.Terraform-Public-1-Subnet subnet-0e3e49bd9bc20ebbe terraform import aws_subnet.Terraform-Public-2-Subnet subnet-0c4107e888ad42d95 terraform import aws_route_table.Terraform-RT rtb-06d4d3bc59e1d221d terraform import aws_internet_gateway.Terraform-IGW igw-094ab3943bc9be6c7 terraform import aws_route_table_association.Terraform-RTA1 subnet-0e3e49bd9bc20ebbe/rtb-06d4d3bc59e1d221d terraform import aws_route_table_association.Terraform-RTA2 subnet-0c4107e888ad42d95/rtb-06d4d3bc59e1d221d terraform import aws_launch_template.Terraform-Template lt-0c9c6eea6ff1c986b terraform import aws_key_pair.Terraform-KeyPair Terraform-KeyPair terraform import aws_lb_target_group.Terraform-TG arn:aws:elasticloadbalancing:ap-south-1:590184002190:targetgroup/Terraform-TG/f44540fb4d7a0522 terraform import aws_lb.Terraform-ALB arn:aws:elasticloadbalancing:ap-south-1:590184002190:loadbalancer/app/Terraform-ALB/ff2779c964b1818f terraform import aws_autoscaling_group.Terraform-ASG Terraform-ASG
Import Resources
resource "aws_security_group" "Terraform-SG" {}
resource "aws_vpc" "Terraform-VPC" {}
resource "aws_subnet" "Terraform-Public-1-Subnet" {
vpc_id = aws_vpc.Terraform-VPC.id
}
resource "aws_subnet" "Terraform-Public-2-Subnet" {
vpc_id = aws_vpc.Terraform-VPC.id
}
resource "aws_route_table" "Terraform-RT" {
vpc_id = aws_vpc.Terraform-VPC.id
}
resource "aws_internet_gateway" "Terraform-IGW" {
vpc_id = aws_vpc.Terraform-VPC.id
}
resource "aws_route_table_association" "Terraform-RTA1" {
subnet_id = aws_subnet.Terraform-Public-1-Subnet.id
route_table_id = aws_route_table.Terraform-RT.id
}
resource "aws_route_table_association" "Terraform-RTA2" {
subnet_id = aws_subnet.Terraform-Public-2-Subnet.id
route_table_id = aws_route_table.Terraform-RT.id
}
resource "aws_key_pair" "Terraform-KeyPair" {
# key_name = "Terraform-KeyPair"
public_key = "ssh-rsa AAAAB3.....L/0A+gzUp imported-openssh-key"
}
resource "aws_launch_template" "Terraform-Template" {}
resource "aws_lb_target_group" "Terraform-TG" {}
resource "aws_lb" "Terraform-ALB" {}
resource "aws_autoscaling_group" "Terraform-ASG" {
max_size = 3
min_size = 2
}
LoadBalancer Resource Import Not available so Manully Added
resource "aws_lb_listener" "web-alb-list" {
load_balancer_arn = aws_lb.web-alb.arn
port = 80
protocol = "HTTP"
default_action {
type = "forward"
target_group_arn = aws_lb_target_group.web-tg.arn
}
}
terraform.tfstate
{
"version": 4,
"terraform_version": "1.8.4",
"serial": 13,
"lineage": "137a4bb9-53cb-8e80-d688-45cb25d31fa2",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "aws_autoscaling_group",
"name": "Terraform-ASG",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:autoscaling:ap-south-1:590184002190:autoScalingGroup:1625e2c4-748e-4867-8e94-f462808f5652:autoScalingGroupName/Terraform-ASG",
"availability_zones": [
"ap-south-1a",
"ap-south-1b"
],
"capacity_rebalance": false,
"context": "",
"default_cooldown": 300,
"default_instance_warmup": 0,
"desired_capacity": 2,
"desired_capacity_type": "",
"enabled_metrics": [],
"force_delete": null,
"force_delete_warm_pool": null,
"health_check_grace_period": 300,
"health_check_type": "EC2",
"id": "Terraform-ASG",
"ignore_failed_scaling_activities": null,
"initial_lifecycle_hook": [],
"instance_maintenance_policy": [],
"instance_refresh": [],
"launch_configuration": "",
"launch_template": [
{
"id": "lt-0c9c6eea6ff1c986b",
"name": "Terraform-ASG-Template",
"version": "$Default"
}
],
"load_balancers": [],
"max_instance_lifetime": 0,
"max_size": 3,
"metrics_granularity": "1Minute",
"min_elb_capacity": null,
"min_size": 2,
"mixed_instances_policy": [],
"name": "Terraform-ASG",
"name_prefix": "",
"placement_group": "",
"predicted_capacity": 0,
"protect_from_scale_in": true,
"service_linked_role_arn": "arn:aws:iam::590184002190:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
"suspended_processes": [],
"tag": [],
"target_group_arns": [
"arn:aws:elasticloadbalancing:ap-south-1:590184002190:targetgroup/Terraform-TG/f44540fb4d7a0522"
],
"termination_policies": [],
"timeouts": null,
"traffic_source": [
{
"identifier": "arn:aws:elasticloadbalancing:ap-south-1:590184002190:targetgroup/Terraform-TG/f44540fb4d7a0522",
"type": "elbv2"
}
],
"vpc_zone_identifier": [
"subnet-0c4107e888ad42d95",
"subnet-0e3e49bd9bc20ebbe"
],
"wait_for_capacity_timeout": null,
"wait_for_elb_capacity": null,
"warm_pool": [],
"warm_pool_size": 0
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjo2MDAwMDAwMDAwMDAsInVwZGF0ZSI6NjAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
}
]
},
{
"mode": "managed",
"type": "aws_internet_gateway",
"name": "Terraform-IGW",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:internet-gateway/igw-094ab3943bc9be6c7",
"id": "igw-094ab3943bc9be6c7",
"owner_id": "590184002190",
"tags": {
"Name": "Terraform-IGW"
},
"tags_all": {
"Name": "Terraform-IGW"
},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMCJ9"
}
]
},
{
"mode": "managed",
"type": "aws_key_pair",
"name": "Terraform-KeyPair",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:key-pair/Terraform-KeyPair",
"fingerprint": "c2:75:04:f0:8d:4b:25:00:91:05:68:b6:cb:b7:9a:f1:a5:89:4f:7c",
"id": "Terraform-KeyPair",
"key_name": "Terraform-KeyPair",
"key_name_prefix": "",
"key_pair_id": "key-0065f73a59ed91fd6",
"key_type": "rsa",
"public_key": null,
"tags": {},
"tags_all": {}
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
},
{
"mode": "managed",
"type": "aws_launch_template",
"name": "Terraform-Template",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:launch-template/lt-0c9c6eea6ff1c986b",
"block_device_mappings": [],
"capacity_reservation_specification": [],
"cpu_options": [],
"credit_specification": [],
"default_version": 1,
"description": "Terraform-ASG-Template",
"disable_api_stop": false,
"disable_api_termination": false,
"ebs_optimized": "",
"elastic_gpu_specifications": [],
"elastic_inference_accelerator": [],
"enclave_options": [],
"hibernation_options": [],
"iam_instance_profile": [],
"id": "lt-0c9c6eea6ff1c986b",
"image_id": "ami-0f26813c8d83a7f9f",
"instance_initiated_shutdown_behavior": "",
"instance_market_options": [],
"instance_requirements": [],
"instance_type": "t2.micro",
"kernel_id": "",
"key_name": "Terraform-KeyPair",
"latest_version": 1,
"license_specification": [],
"maintenance_options": [],
"metadata_options": [],
"monitoring": [],
"name": "Terraform-ASG-Template",
"name_prefix": "",
"network_interfaces": [
{
"associate_carrier_ip_address": "",
"associate_public_ip_address": "",
"delete_on_termination": "",
"description": "",
"device_index": 0,
"interface_type": "",
"ipv4_address_count": 0,
"ipv4_addresses": [],
"ipv4_prefix_count": 0,
"ipv4_prefixes": [],
"ipv6_address_count": 0,
"ipv6_addresses": [],
"ipv6_prefix_count": 0,
"ipv6_prefixes": [],
"network_card_index": 0,
"network_interface_id": "",
"private_ip_address": "",
"security_groups": [
"sg-004a3f5bdc675a2eb"
],
"subnet_id": ""
}
],
"placement": [],
"private_dns_name_options": [],
"ram_disk_id": "",
"security_group_names": [],
"tag_specifications": [],
"tags": {},
"tags_all": {},
"update_default_version": null,
"user_data": "",
"vpc_security_group_ids": []
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjAifQ=="
}
]
},
{
"mode": "managed",
"type": "aws_lb",
"name": "Terraform-ALB",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"access_logs": [
{
"bucket": "",
"enabled": false,
"prefix": ""
}
],
"arn": "arn:aws:elasticloadbalancing:ap-south-1:590184002190:loadbalancer/app/Terraform-ALB/ff2779c964b1818f",
"arn_suffix": "app/Terraform-ALB/ff2779c964b1818f",
"client_keep_alive": 3600,
"connection_logs": [
{
"bucket": "",
"enabled": false,
"prefix": ""
}
],
"customer_owned_ipv4_pool": "",
"desync_mitigation_mode": "defensive",
"dns_name": "Terraform-ALB-318918146.ap-south-1.elb.amazonaws.com",
"dns_record_client_routing_policy": null,
"drop_invalid_header_fields": false,
"enable_cross_zone_load_balancing": true,
"enable_deletion_protection": false,
"enable_http2": true,
"enable_tls_version_and_cipher_suite_headers": false,
"enable_waf_fail_open": false,
"enable_xff_client_port": false,
"enforce_security_group_inbound_rules_on_private_link_traffic": "",
"id": "arn:aws:elasticloadbalancing:ap-south-1:590184002190:loadbalancer/app/Terraform-ALB/ff2779c964b1818f",
"idle_timeout": 60,
"internal": false,
"ip_address_type": "ipv4",
"load_balancer_type": "application",
"name": "Terraform-ALB",
"name_prefix": "",
"preserve_host_header": false,
"security_groups": [
"sg-004a3f5bdc675a2eb"
],
"subnet_mapping": [
{
"allocation_id": "",
"ipv6_address": "",
"outpost_id": "",
"private_ipv4_address": "",
"subnet_id": "subnet-0c4107e888ad42d95"
},
{
"allocation_id": "",
"ipv6_address": "",
"outpost_id": "",
"private_ipv4_address": "",
"subnet_id": "subnet-0e3e49bd9bc20ebbe"
}
],
"subnets": [
"subnet-0c4107e888ad42d95",
"subnet-0e3e49bd9bc20ebbe"
],
"tags": {},
"tags_all": {},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52",
"xff_header_processing_mode": "append",
"zone_id": "ZP97RAFLXTNZK"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6NjAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMCJ9"
}
]
},
{
"mode": "managed",
"type": "aws_lb_target_group",
"name": "Terraform-TG",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:elasticloadbalancing:ap-south-1:590184002190:targetgroup/Terraform-TG/f44540fb4d7a0522",
"arn_suffix": "targetgroup/Terraform-TG/f44540fb4d7a0522",
"connection_termination": null,
"deregistration_delay": "300",
"health_check": [
{
"enabled": true,
"healthy_threshold": 5,
"interval": 30,
"matcher": "200",
"path": "/",
"port": "traffic-port",
"protocol": "HTTP",
"timeout": 5,
"unhealthy_threshold": 2
}
],
"id": "arn:aws:elasticloadbalancing:ap-south-1:590184002190:targetgroup/Terraform-TG/f44540fb4d7a0522",
"ip_address_type": "ipv4",
"lambda_multi_value_headers_enabled": null,
"load_balancer_arns": [
"arn:aws:elasticloadbalancing:ap-south-1:590184002190:loadbalancer/app/Terraform-ALB/ff2779c964b1818f"
],
"load_balancing_algorithm_type": "round_robin",
"load_balancing_anomaly_mitigation": "off",
"load_balancing_cross_zone_enabled": "use_load_balancer_configuration",
"name": "Terraform-TG",
"name_prefix": "",
"port": 80,
"preserve_client_ip": null,
"protocol": "HTTP",
"protocol_version": "HTTP1",
"proxy_protocol_v2": null,
"slow_start": 0,
"stickiness": [
{
"cookie_duration": 86400,
"cookie_name": "",
"enabled": false,
"type": "lb_cookie"
}
],
"tags": {},
"tags_all": {},
"target_failover": [
{
"on_deregistration": null,
"on_unhealthy": null
}
],
"target_health_state": [
{
"enable_unhealthy_connection_termination": null
}
],
"target_type": "instance",
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjAifQ=="
}
]
},
{
"mode": "managed",
"type": "aws_route_table",
"name": "Terraform-RT",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:route-table/rtb-06d4d3bc59e1d221d",
"id": "rtb-06d4d3bc59e1d221d",
"owner_id": "590184002190",
"propagating_vgws": [],
"route": [
{
"carrier_gateway_id": "",
"cidr_block": "0.0.0.0/0",
"core_network_arn": "",
"destination_prefix_list_id": "",
"egress_only_gateway_id": "",
"gateway_id": "igw-094ab3943bc9be6c7",
"ipv6_cidr_block": "",
"local_gateway_id": "",
"nat_gateway_id": "",
"network_interface_id": "",
"transit_gateway_id": "",
"vpc_endpoint_id": "",
"vpc_peering_connection_id": ""
}
],
"tags": {},
"tags_all": {},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlbGV0ZSI6MzAwMDAwMDAwMDAwLCJ1cGRhdGUiOjEyMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMCJ9"
}
]
},
{
"mode": "managed",
"type": "aws_route_table_association",
"name": "Terraform-RTA1",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"gateway_id": "",
"id": "rtbassoc-08bf6db842eeba2d0",
"route_table_id": "rtb-06d4d3bc59e1d221d",
"subnet_id": "subnet-0e3e49bd9bc20ebbe",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlbGV0ZSI6MzAwMDAwMDAwMDAwLCJ1cGRhdGUiOjEyMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMCJ9"
}
]
},
{
"mode": "managed",
"type": "aws_route_table_association",
"name": "Terraform-RTA2",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"gateway_id": "",
"id": "rtbassoc-0756c90d2a6495456",
"route_table_id": "rtb-06d4d3bc59e1d221d",
"subnet_id": "subnet-0c4107e888ad42d95",
"timeouts": null
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlbGV0ZSI6MzAwMDAwMDAwMDAwLCJ1cGRhdGUiOjEyMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMCJ9"
}
]
},
{
"mode": "managed",
"type": "aws_security_group",
"name": "Terraform-SG",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:security-group/sg-004a3f5bdc675a2eb",
"description": "default VPC security group",
"egress": [
{
"cidr_blocks": [
"0.0.0.0/0"
],
"description": "",
"from_port": 0,
"ipv6_cidr_blocks": [],
"prefix_list_ids": [],
"protocol": "-1",
"security_groups": [],
"self": false,
"to_port": 0
}
],
"id": "sg-004a3f5bdc675a2eb",
"ingress": [
{
"cidr_blocks": [
"0.0.0.0/0"
],
"description": "",
"from_port": 80,
"ipv6_cidr_blocks": [],
"prefix_list_ids": [],
"protocol": "tcp",
"security_groups": [],
"self": false,
"to_port": 80
},
{
"cidr_blocks": [
"103.163.248.170/32"
],
"description": "",
"from_port": 3389,
"ipv6_cidr_blocks": [],
"prefix_list_ids": [],
"protocol": "tcp",
"security_groups": [],
"self": false,
"to_port": 3389
}
],
"name": "default",
"name_prefix": "",
"owner_id": "590184002190",
"revoke_rules_on_delete": null,
"tags": {},
"tags_all": {},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
}
]
},
{
"mode": "managed",
"type": "aws_subnet",
"name": "Terraform-Public-1-Subnet",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:subnet/subnet-0e3e49bd9bc20ebbe",
"assign_ipv6_address_on_creation": false,
"availability_zone": "ap-south-1a",
"availability_zone_id": "aps1-az1",
"cidr_block": "10.0.1.0/24",
"customer_owned_ipv4_pool": "",
"enable_dns64": false,
"enable_lni_at_device_index": 0,
"enable_resource_name_dns_a_record_on_launch": false,
"enable_resource_name_dns_aaaa_record_on_launch": false,
"id": "subnet-0e3e49bd9bc20ebbe",
"ipv6_cidr_block": "",
"ipv6_cidr_block_association_id": "",
"ipv6_native": false,
"map_customer_owned_ip_on_launch": false,
"map_public_ip_on_launch": false,
"outpost_arn": "",
"owner_id": "590184002190",
"private_dns_hostname_type_on_launch": "ip-name",
"tags": {
"Name": "Terraform-Public-1-Subnet"
},
"tags_all": {
"Name": "Terraform-Public-1-Subnet"
},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9"
}
]
},
{
"mode": "managed",
"type": "aws_subnet",
"name": "Terraform-Public-2-Subnet",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:subnet/subnet-0c4107e888ad42d95",
"assign_ipv6_address_on_creation": false,
"availability_zone": "ap-south-1b",
"availability_zone_id": "aps1-az3",
"cidr_block": "10.0.2.0/24",
"customer_owned_ipv4_pool": "",
"enable_dns64": false,
"enable_lni_at_device_index": 0,
"enable_resource_name_dns_a_record_on_launch": false,
"enable_resource_name_dns_aaaa_record_on_launch": false,
"id": "subnet-0c4107e888ad42d95",
"ipv6_cidr_block": "",
"ipv6_cidr_block_association_id": "",
"ipv6_native": false,
"map_customer_owned_ip_on_launch": false,
"map_public_ip_on_launch": false,
"outpost_arn": "",
"owner_id": "590184002190",
"private_dns_hostname_type_on_launch": "ip-name",
"tags": {
"Name": "Terraform-Public-2-Subnet"
},
"tags_all": {
"Name": "Terraform-Public-2-Subnet"
},
"timeouts": null,
"vpc_id": "vpc-01b001b6d28e8fe52"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9"
}
]
},
{
"mode": "managed",
"type": "aws_vpc",
"name": "Terraform-VPC",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-south-1:590184002190:vpc/vpc-01b001b6d28e8fe52",
"assign_generated_ipv6_cidr_block": false,
"cidr_block": "10.0.0.0/16",
"default_network_acl_id": "acl-046320d1afedddf5f",
"default_route_table_id": "rtb-06d4d3bc59e1d221d",
"default_security_group_id": "sg-004a3f5bdc675a2eb",
"dhcp_options_id": "dopt-0fb17c1e6159a9f11",
"enable_dns_hostnames": false,
"enable_dns_support": true,
"enable_network_address_usage_metrics": false,
"id": "vpc-01b001b6d28e8fe52",
"instance_tenancy": "default",
"ipv4_ipam_pool_id": null,
"ipv4_netmask_length": null,
"ipv6_association_id": "",
"ipv6_cidr_block": "",
"ipv6_cidr_block_network_border_group": "",
"ipv6_ipam_pool_id": "",
"ipv6_netmask_length": 0,
"main_route_table_id": "rtb-06d4d3bc59e1d221d",
"owner_id": "590184002190",
"tags": {
"Name": "Terraform-VPC"
},
"tags_all": {
"Name": "Terraform-VPC"
}
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
}
],
"check_results": null
}