driftctl/pkg/iac/terraform/state/testdata/v4/invalid.tfstate

168 lines
3.9 KiB
JSON

{
"version": 4,
"terraform_version": "0.12.26",
"serial": 72,
"lineage": "d64a9976-0aa7-980f-8ea8-4056102e13c7",
"outputs": {
"public_ip": {
"value": "15.236.123.61",
"type": "string"
}
},
"resources": [
{
"mode": "data",
"type": "aws_ami",
west-3:
:
image/ami-0aa9ac13698fff547
",
"block_device_mappings": [
{
"device_name": "/dev/xvda",
"ebs": {
"delete_on_termination": "true",
"encrypted": "false",
"iops": "0",
"snapshot_id": "snap-03857d0bd1aa43efd",
"volume_size": "8",
"volume_type": "gp2"
},
"no_device": "",
"virtual_name": ""
}
],
"creation_date": "2020-07-21T18:33:16.000Z",
"description": "Amazon Linux AMI 2018.03.0.20200716.0 x86_64 HVM gp2",
"executable_users": null,
"filter": [
{
"name": "name",
"values": [
"amzn-ami-hvm-*"
]
}
],
"hypervisor": "xen",
"id": "ami-0aa9ac13698fff547",
"image_id": "ami-0aa9ac13698fff547",
"image_location": "amazon/amzn-ami-hvm-2018.03.0.20200716.0-x86_64-gp2",
"image_owner_alias": "amazon",
"image_type": "machine",
"kernel_id": null,
"most_recent": true,
"name": "amzn-ami-hvm-2018.03.0.20200716.0-x86_64-gp2",
"name_regex": null,
"owner_id": "137112412989",
"owners": [
"amazon"
],
"platform": null,
"product_codes": [],
"public": true,
"ramdisk_id": null,
"root_device_name": "/dev/xvda",
"root_device_type": "ebs",
"root_snapshot_id": "snap-03857d0bd1aa43efd",
"sriov_net_support": "simple",
"state": "available",
"state_reason": {
"code": "UNSET",
"message": "UNSET"
},
"tags": {},
"virtualization_type": "hvm"
}
}
]
},
{
"mode": "managed",
"type": "aws_instance",
"name": "vm",
"provider": "provider.aws",
"instances": [
{
"schema_version": 1,
"attributes": {
"ami": "ami-0aa9ac13698fff547",
"arn": "arn:aws:ec2:eu-west-3:929327065333:instance/i-07dbbae1c3fc4c194",
"associate_public_ip_address": true,
"availability_zone": "eu-west-3b",
"cpu_core_count": 1,
"cpu_threads_per_core": 2,
"credit_specification": [
{
"cpu_credits": "unlimited"
}
],
"disable_api_termination": false,
"ebs_block_device": [],
"ebs_optimized": false,
"ephemeral_block_device": [],
"get_password_data": false,
"hibernation": false,
"host_id": null,
"iam_instance_profile": "",
"id": "i-07dbbae1c3fc4c194",
"instance_initiated_shutdown_behavior": null,
"instance_state": "running",
"instance_type": "t3.nano",
"ipv6_address_count": 0,
"ipv6_addresses": [],
"key_name": "",
"metadata_options": [
{
"http_endpoint": "enabled",
"http_put_response_hop_limit": 1,
"http_tokens": "optional"
}
],
"monitoring": false,
"network_interface": [],
"network_interface_id": null,
"outpost_arn": "",
"password_data": "",
"placement_group": "",
"primary_network_interface_id": "eni-0e489fe405754f162",
"private_dns": "ip-172-31-16-40.eu-west-3.compute.internal",
"private_ip": "172.31.16.40",
"public_dns": "ec2-15-236-123-61.eu-west-3.compute.amazonaws.com",
"public_ip": "15.236.123.61",
"root_block_device": [
{
"delete_on_termination": true,
"device_name": "/dev/xvda",
"encrypted": false,
"iops": 100,
"kms_key_id": "",
"volume_id": "vol-0d30c5228ef04fe70",
"volume_size": 8,
"volume_type": "gp2"
}
],
"security_groups": [
"default"
],
"source_dest_check": true,
"subnet_id": "subnet-49f9ae32",
"tags": {
"Name": "DEMO VM DESTROY ME - default",
"Terraform": "true"
},
"tenancy": "default",
"timeouts": null,
"user_data": null,
"user_data_base64": null,
"volume_tags": {},
"vpc_security_group_ids": [
"sg-a74815c8"
]
},
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMCwidXBkYXRlIjo2MDAwMDAwMDAwMDB9LCJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
}
]
}
]
}