209 lines
6.7 KiB
JSON
209 lines
6.7 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.10.5",
|
|
"serial": 3,
|
|
"lineage": "1548454c-cf7f-9153-d2ca-6d37af1f5a24",
|
|
"outputs": {
|
|
"instance_public_ip": {
|
|
"value": "34.238.243.13",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_instance",
|
|
"name": "ec2_vm",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"ami": "ami-05b10e08d247fb927",
|
|
"arn": "arn:aws:ec2:us-east-1:874570603861:instance/i-0e29c8cbbf71c2ee0",
|
|
"associate_public_ip_address": true,
|
|
"availability_zone": "us-east-1a",
|
|
"capacity_reservation_specification": [
|
|
{
|
|
"capacity_reservation_preference": "open",
|
|
"capacity_reservation_target": []
|
|
}
|
|
],
|
|
"cpu_core_count": 1,
|
|
"cpu_options": [
|
|
{
|
|
"amd_sev_snp": "",
|
|
"core_count": 1,
|
|
"threads_per_core": 1
|
|
}
|
|
],
|
|
"cpu_threads_per_core": 1,
|
|
"credit_specification": [
|
|
{
|
|
"cpu_credits": "standard"
|
|
}
|
|
],
|
|
"disable_api_stop": false,
|
|
"disable_api_termination": false,
|
|
"ebs_block_device": [],
|
|
"ebs_optimized": false,
|
|
"enable_primary_ipv6": null,
|
|
"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-0e29c8cbbf71c2ee0",
|
|
"instance_initiated_shutdown_behavior": "stop",
|
|
"instance_lifecycle": "",
|
|
"instance_market_options": [],
|
|
"instance_state": "running",
|
|
"instance_type": "t2.micro",
|
|
"ipv6_address_count": 0,
|
|
"ipv6_addresses": [],
|
|
"key_name": "theocorp",
|
|
"launch_template": [],
|
|
"maintenance_options": [
|
|
{
|
|
"auto_recovery": "default"
|
|
}
|
|
],
|
|
"metadata_options": [
|
|
{
|
|
"http_endpoint": "enabled",
|
|
"http_protocol_ipv6": "disabled",
|
|
"http_put_response_hop_limit": 2,
|
|
"http_tokens": "required",
|
|
"instance_metadata_tags": "disabled"
|
|
}
|
|
],
|
|
"monitoring": false,
|
|
"network_interface": [],
|
|
"outpost_arn": "",
|
|
"password_data": "",
|
|
"placement_group": "",
|
|
"placement_partition_number": 0,
|
|
"primary_network_interface_id": "eni-001ca41a4fe48c860",
|
|
"private_dns": "ip-172-31-89-239.ec2.internal",
|
|
"private_dns_name_options": [
|
|
{
|
|
"enable_resource_name_dns_a_record": false,
|
|
"enable_resource_name_dns_aaaa_record": false,
|
|
"hostname_type": "ip-name"
|
|
}
|
|
],
|
|
"private_ip": "172.31.89.239",
|
|
"public_dns": "ec2-34-238-243-13.compute-1.amazonaws.com",
|
|
"public_ip": "34.238.243.13",
|
|
"root_block_device": [
|
|
{
|
|
"delete_on_termination": true,
|
|
"device_name": "/dev/xvda",
|
|
"encrypted": false,
|
|
"iops": 3000,
|
|
"kms_key_id": "",
|
|
"tags": {},
|
|
"tags_all": {},
|
|
"throughput": 125,
|
|
"volume_id": "vol-0e5fb766eb12bbde8",
|
|
"volume_size": 8,
|
|
"volume_type": "gp3"
|
|
}
|
|
],
|
|
"secondary_private_ips": [],
|
|
"security_groups": [
|
|
"pangolin-sg"
|
|
],
|
|
"source_dest_check": true,
|
|
"spot_instance_request_id": "",
|
|
"subnet_id": "subnet-02a8be59a072d7d45",
|
|
"tags": {
|
|
"Name": "pangolin"
|
|
},
|
|
"tags_all": {
|
|
"Name": "pangolin"
|
|
},
|
|
"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-0d82734bca1c8db50"
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwicmVhZCI6OTAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
|
"dependencies": [
|
|
"aws_security_group.ec2_sg"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_security_group",
|
|
"name": "ec2_sg",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"arn": "arn:aws:ec2:us-east-1:874570603861:security-group/sg-0d82734bca1c8db50",
|
|
"description": "Allow SSH inbound traffic",
|
|
"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-0d82734bca1c8db50",
|
|
"ingress": [
|
|
{
|
|
"cidr_blocks": [
|
|
"0.0.0.0/0"
|
|
],
|
|
"description": "",
|
|
"from_port": 22,
|
|
"ipv6_cidr_blocks": [],
|
|
"prefix_list_ids": [],
|
|
"protocol": "tcp",
|
|
"security_groups": [],
|
|
"self": false,
|
|
"to_port": 22
|
|
}
|
|
],
|
|
"name": "pangolin-sg",
|
|
"name_prefix": "",
|
|
"owner_id": "874570603861",
|
|
"revoke_rules_on_delete": false,
|
|
"tags": null,
|
|
"tags_all": {},
|
|
"timeouts": null,
|
|
"vpc_id": "vpc-0ea47c82201349205"
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0="
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|