driftctl/pkg/cmd/scan/output/testdata/output_plan.json

101 lines
2.0 KiB
JSON

{
"format_version": "0.1",
"planned_values": {
"root_module": {
"resources": [
{
"address": "aws_managed_resource.managed-id-1",
"type": "aws_managed_resource",
"name": "managed-id-1",
"values": {
"name": "First managed resource"
}
},
{
"address": "aws_managed_resource.managed-id-2",
"type": "aws_managed_resource",
"name": "managed-id-2",
"values": {
"name": "Second managed resource"
}
},
{
"address": "aws_unmanaged_resource.unmanaged-id-1",
"type": "aws_unmanaged_resource",
"name": "unmanaged-id-1",
"values": {
"name": "First unmanaged resource"
}
},
{
"address": "aws_unmanaged_resource.unmanaged-id-2",
"type": "aws_unmanaged_resource",
"name": "unmanaged-id-2",
"values": {
"name": "Second unmanaged resource"
}
}
]
}
},
"resource_changes": [
{
"address": "aws_managed_resource.managed-id-1",
"type": "aws_managed_resource",
"name": "managed-id-1",
"change": {
"actions": [
"no-op"
],
"before": {
"name": "First managed resource"
},
"after": {
"name": "First managed resource"
}
}
},
{
"address": "aws_managed_resource.managed-id-2",
"type": "aws_managed_resource",
"name": "managed-id-2",
"change": {
"actions": [
"no-op"
],
"before": {
"name": "Second managed resource"
},
"after": {
"name": "Second managed resource"
}
}
},
{
"address": "aws_unmanaged_resource.unmanaged-id-1",
"type": "aws_unmanaged_resource",
"name": "unmanaged-id-1",
"change": {
"actions": [
"create"
],
"after": {
"name": "First unmanaged resource"
}
}
},
{
"address": "aws_unmanaged_resource.unmanaged-id-2",
"type": "aws_unmanaged_resource",
"name": "unmanaged-id-2",
"change": {
"actions": [
"create"
],
"after": {
"name": "Second unmanaged resource"
}
}
}
]
}