Files
dsk-iac/01-old/terraform/aws_instance/superset/terraform.tfstate.backup
dsk-minchulahn 0273450ff6 Clean Code
2023-12-19 13:03:29 +09:00

372 lines
13 KiB
JSON

{
"version": 4,
"terraform_version": "1.4.6",
"serial": 28,
"lineage": "b244d6e2-ddf9-06f1-7d1d-36ae5f9e2690",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "aws_ebs_volume",
"name": "superset_ebs",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"arn": "arn:aws:ec2:ap-northeast-2:508259851457:volume/vol-00d7bfddea039e2a3",
"availability_zone": "ap-northeast-2c",
"encrypted": true,
"final_snapshot": false,
"id": "vol-00d7bfddea039e2a3",
"iops": 300,
"kms_key_id": "arn:aws:kms:ap-northeast-2:508259851457:key/fac33ef5-dbc0-4dcb-9be1-1862c6678bfb",
"multi_attach_enabled": false,
"outpost_arn": "",
"size": 100,
"snapshot_id": "",
"tags": {
"Name": "superset-ebs"
},
"tags_all": {
"Name": "superset-ebs"
},
"throughput": 0,
"timeouts": null,
"type": "gp2"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlbGV0ZSI6MzAwMDAwMDAwMDAwLCJ1cGRhdGUiOjMwMDAwMDAwMDAwMH19",
"dependencies": [
"aws_instance.superset",
"aws_security_group.superset-allow-security"
]
}
]
},
{
"mode": "managed",
"type": "aws_eip",
"name": "superset_eip",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"address": null,
"allocation_id": "eipalloc-0bc6f0725907c2b97",
"associate_with_private_ip": null,
"association_id": "eipassoc-0e6bfb4ec0f8dc921",
"carrier_ip": "",
"customer_owned_ip": "",
"customer_owned_ipv4_pool": "",
"domain": "vpc",
"id": "eipalloc-0bc6f0725907c2b97",
"instance": "i-08b854173a9f65959",
"network_border_group": "ap-northeast-2",
"network_interface": "eni-03306af4a9f039398",
"private_dns": "ip-172-24-2-139.ap-northeast-2.compute.internal",
"private_ip": "172.24.2.139",
"public_dns": "ec2-43-200-67-243.ap-northeast-2.compute.amazonaws.com",
"public_ip": "43.200.67.243",
"public_ipv4_pool": "amazon",
"tags": {
"Name": "superset-eip"
},
"tags_all": {
"Name": "superset-eip"
},
"timeouts": null,
"vpc": true
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiZGVsZXRlIjoxODAwMDAwMDAwMDAsInJlYWQiOjkwMDAwMDAwMDAwMCwidXBkYXRlIjozMDAwMDAwMDAwMDB9fQ==",
"dependencies": [
"aws_instance.superset",
"aws_security_group.superset-allow-security"
]
}
]
},
{
"mode": "managed",
"type": "aws_instance",
"name": "superset",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"ami": "ami-0409b7ddbc59e3222",
"arn": "arn:aws:ec2:ap-northeast-2:508259851457:instance/i-08b854173a9f65959",
"associate_public_ip_address": true,
"availability_zone": "ap-northeast-2c",
"capacity_reservation_specification": [
{
"capacity_reservation_preference": "open",
"capacity_reservation_target": []
}
],
"cpu_core_count": 1,
"cpu_threads_per_core": 2,
"credit_specification": [
{
"cpu_credits": "unlimited"
}
],
"disable_api_stop": false,
"disable_api_termination": false,
"ebs_block_device": [
{
"delete_on_termination": false,
"device_name": "/dev/xvdf",
"encrypted": true,
"iops": 300,
"kms_key_id": "arn:aws:kms:ap-northeast-2:508259851457:key/fac33ef5-dbc0-4dcb-9be1-1862c6678bfb",
"snapshot_id": "",
"tags": {
"Name": "superset-ebs"
},
"throughput": 0,
"volume_id": "vol-00d7bfddea039e2a3",
"volume_size": 100,
"volume_type": "gp2"
}
],
"ebs_optimized": false,
"enclave_options": [
{
"enabled": false
}
],
"ephemeral_block_device": [],
"get_password_data": false,
"hibernation": false,
"host_id": "",
"host_resource_group_arn": null,
"iam_instance_profile": "",
"id": "i-08b854173a9f65959",
"instance_initiated_shutdown_behavior": "stop",
"instance_state": "running",
"instance_type": "t3.small",
"ipv6_address_count": 0,
"ipv6_addresses": [],
"key_name": "kp-jay-bastion-datasaker",
"launch_template": [],
"maintenance_options": [
{
"auto_recovery": "default"
}
],
"metadata_options": [
{
"http_endpoint": "enabled",
"http_put_response_hop_limit": 1,
"http_tokens": "optional",
"instance_metadata_tags": "disabled"
}
],
"monitoring": false,
"network_interface": [],
"outpost_arn": "",
"password_data": "",
"placement_group": "",
"placement_partition_number": 0,
"primary_network_interface_id": "eni-03306af4a9f039398",
"private_dns": "i-08b854173a9f65959.ap-northeast-2.compute.internal",
"private_dns_name_options": [
{
"enable_resource_name_dns_a_record": true,
"enable_resource_name_dns_aaaa_record": false,
"hostname_type": "resource-name"
}
],
"private_ip": "172.24.2.139",
"public_dns": "ec2-43-200-67-243.ap-northeast-2.compute.amazonaws.com",
"public_ip": "43.200.67.243",
"root_block_device": [
{
"delete_on_termination": true,
"device_name": "/dev/sda1",
"encrypted": true,
"iops": 100,
"kms_key_id": "arn:aws:kms:ap-northeast-2:508259851457:key/fac33ef5-dbc0-4dcb-9be1-1862c6678bfb",
"tags": {},
"throughput": 0,
"volume_id": "vol-00b406bbc857781e8",
"volume_size": 30,
"volume_type": "gp2"
}
],
"secondary_private_ips": [],
"security_groups": [],
"source_dest_check": true,
"subnet_id": "subnet-0073a61bc56a68a3e",
"tags": {
"Name": "superset"
},
"tags_all": {
"Name": "superset"
},
"tenancy": "default",
"timeouts": null,
"user_data": null,
"user_data_base64": null,
"user_data_replace_on_change": false,
"volume_tags": null,
"vpc_security_group_ids": [
"sg-0a90049d737c4847c"
]
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwidXBkYXRlIjo2MDAwMDAwMDAwMDB9LCJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
"dependencies": [
"aws_security_group.superset-allow-security"
]
}
]
},
{
"mode": "managed",
"type": "aws_route53_record",
"name": "superset",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 2,
"attributes": {
"alias": [],
"allow_overwrite": null,
"cidr_routing_policy": [],
"failover_routing_policy": [],
"fqdn": "superset1.kr.datasaker.io",
"geolocation_routing_policy": [],
"health_check_id": "",
"id": "Z072735718G25WNVKU834_superset1.kr.datasaker.io_A",
"latency_routing_policy": [],
"multivalue_answer_routing_policy": false,
"name": "superset1.kr.datasaker.io",
"records": [
"43.200.67.243"
],
"set_identifier": "",
"ttl": 300,
"type": "A",
"weighted_routing_policy": [],
"zone_id": "Z072735718G25WNVKU834"
},
"sensitive_attributes": [],
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
"dependencies": [
"aws_eip.superset_eip"
]
}
]
},
{
"mode": "managed",
"type": "aws_security_group",
"name": "superset-allow-security",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 1,
"attributes": {
"arn": "arn:aws:ec2:ap-northeast-2:508259851457:security-group/sg-0a90049d737c4847c",
"description": "Allow inbound traffic",
"egress": [
{
"cidr_blocks": [
"0.0.0.0/0"
],
"description": "",
"from_port": 0,
"ipv6_cidr_blocks": [
"::/0"
],
"prefix_list_ids": [],
"protocol": "-1",
"security_groups": [],
"self": false,
"to_port": 0
}
],
"id": "sg-0a90049d737c4847c",
"ingress": [
{
"cidr_blocks": [
"118.223.123.161/32"
],
"description": "SSH",
"from_port": 22,
"ipv6_cidr_blocks": [],
"prefix_list_ids": [],
"protocol": "tcp",
"security_groups": [],
"self": false,
"to_port": 22
},
{
"cidr_blocks": [
"118.223.123.161/32"
],
"description": "TLS from superset",
"from_port": 443,
"ipv6_cidr_blocks": [],
"prefix_list_ids": [],
"protocol": "tcp",
"security_groups": [],
"self": false,
"to_port": 443
}
],
"name": "superset-allow-security-new",
"name_prefix": "",
"owner_id": "508259851457",
"revoke_rules_on_delete": false,
"tags": {
"Name": "superset-allow-security"
},
"tags_all": {
"Name": "superset-allow-security"
},
"timeouts": null,
"vpc_id": "vpc-00ba2b0e9ad59f0ed"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
}
]
},
{
"mode": "managed",
"type": "aws_volume_attachment",
"name": "superset_ebs_attach",
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
"instances": [
{
"schema_version": 0,
"attributes": {
"device_name": "/dev/xvdf",
"force_detach": null,
"id": "vai-1800967242",
"instance_id": "i-08b854173a9f65959",
"skip_destroy": null,
"stop_instance_before_detaching": null,
"timeouts": null,
"volume_id": "vol-00d7bfddea039e2a3"
},
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjozMDAwMDAwMDAwMDAsImRlbGV0ZSI6MzAwMDAwMDAwMDAwfX0=",
"dependencies": [
"aws_ebs_volume.superset_ebs",
"aws_instance.superset",
"aws_security_group.superset-allow-security"
]
}
]
}
],
"check_results": null
}