157 lines
5.2 KiB
JSON
157 lines
5.2 KiB
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.3.9",
|
|
"serial": 7,
|
|
"lineage": "05a7ba76-3512-c858-95f8-aa6ea555f1ee",
|
|
"outputs": {
|
|
"last-updated": {
|
|
"value": "2024-05-30T02:41:22Z",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"mode": "managed",
|
|
"type": "aws_instance",
|
|
"name": "example",
|
|
"provider": "provider[\"registry.terraform.io/hashicorp/aws\"]",
|
|
"instances": [
|
|
{
|
|
"schema_version": 1,
|
|
"attributes": {
|
|
"ami": "ami-0157c3cc39a1c5cc0",
|
|
"arn": "arn:aws:ec2:ap-east-1:040216112220:instance/i-037e063ccb317f0db",
|
|
"associate_public_ip_address": true,
|
|
"availability_zone": "ap-east-1a",
|
|
"capacity_reservation_specification": [
|
|
{
|
|
"capacity_reservation_preference": "open",
|
|
"capacity_reservation_target": []
|
|
}
|
|
],
|
|
"cpu_core_count": 2,
|
|
"cpu_options": [
|
|
{
|
|
"amd_sev_snp": "",
|
|
"core_count": 2,
|
|
"threads_per_core": 1
|
|
}
|
|
],
|
|
"cpu_threads_per_core": 1,
|
|
"credit_specification": [
|
|
{
|
|
"cpu_credits": "unlimited"
|
|
}
|
|
],
|
|
"disable_api_stop": false,
|
|
"disable_api_termination": false,
|
|
"ebs_block_device": [],
|
|
"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-037e063ccb317f0db",
|
|
"instance_initiated_shutdown_behavior": "stop",
|
|
"instance_lifecycle": "",
|
|
"instance_market_options": [],
|
|
"instance_state": "running",
|
|
"instance_type": "t4g.large",
|
|
"ipv6_address_count": 0,
|
|
"ipv6_addresses": [],
|
|
"key_name": "",
|
|
"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-0375c305514c6813c",
|
|
"private_dns": "ip-172-20-16-111.ap-east-1.compute.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.20.16.111",
|
|
"public_dns": "ec2-18-163-2-19.ap-east-1.compute.amazonaws.com",
|
|
"public_ip": "18.163.2.19",
|
|
"root_block_device": [
|
|
{
|
|
"delete_on_termination": true,
|
|
"device_name": "/dev/xvda",
|
|
"encrypted": false,
|
|
"iops": 3000,
|
|
"kms_key_id": "",
|
|
"tags": {},
|
|
"tags_all": {
|
|
"Environment": "Training",
|
|
"Owner": "ken2026",
|
|
"Project": "Iac",
|
|
"ServiceProvider": "RackspaceTechnology",
|
|
"TerraformDir": "Compute/Demo1",
|
|
"TerraformMode": "managed"
|
|
},
|
|
"throughput": 125,
|
|
"volume_id": "vol-061192850e49ddff0",
|
|
"volume_size": 8,
|
|
"volume_type": "gp3"
|
|
}
|
|
],
|
|
"secondary_private_ips": [],
|
|
"security_groups": [],
|
|
"source_dest_check": true,
|
|
"spot_instance_request_id": "",
|
|
"subnet_id": "subnet-0927ba1b06ccfe6c5",
|
|
"tags": {},
|
|
"tags_all": {
|
|
"Environment": "Training",
|
|
"Owner": "ken2026",
|
|
"Project": "Iac",
|
|
"ServiceProvider": "RackspaceTechnology",
|
|
"TerraformDir": "Compute/Demo1",
|
|
"TerraformMode": "managed"
|
|
},
|
|
"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-04ec154cb0f516e76"
|
|
]
|
|
},
|
|
"sensitive_attributes": [],
|
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwicmVhZCI6OTAwMDAwMDAwMDAwLCJ1cGRhdGUiOjYwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"check_results": null
|
|
}
|