coder/provisioner/terraform/testdata/rich-parameters/rich-parameters.tfplan.json

228 lines
5.6 KiB
JSON

{
"format_version": "1.1",
"terraform_version": "1.2.6",
"planned_values": {
"root_module": {
"resources": [
{
"address": "coder_agent.dev",
"mode": "managed",
"type": "coder_agent",
"name": "dev",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"values": {
"arch": "arm64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"env": null,
"motd_file": null,
"os": "windows",
"shutdown_script": null,
"startup_script": null,
"troubleshooting_url": null
},
"sensitive_values": {}
},
{
"address": "null_resource.dev",
"mode": "managed",
"type": "null_resource",
"name": "dev",
"provider_name": "registry.terraform.io/hashicorp/null",
"schema_version": 0,
"values": {
"triggers": null
},
"sensitive_values": {}
}
]
}
},
"resource_changes": [
{
"address": "coder_agent.dev",
"mode": "managed",
"type": "coder_agent",
"name": "dev",
"provider_name": "registry.terraform.io/coder/coder",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"arch": "arm64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"env": null,
"motd_file": null,
"os": "windows",
"shutdown_script": null,
"startup_script": null,
"troubleshooting_url": null
},
"after_unknown": {
"id": true,
"init_script": true,
"token": true
},
"before_sensitive": false,
"after_sensitive": {
"token": true
}
}
},
{
"address": "null_resource.dev",
"mode": "managed",
"type": "null_resource",
"name": "dev",
"provider_name": "registry.terraform.io/hashicorp/null",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"triggers": null
},
"after_unknown": {
"id": true
},
"before_sensitive": false,
"after_sensitive": {}
}
}
],
"prior_state": {
"format_version": "1.0",
"terraform_version": "1.2.6",
"values": {
"root_module": {
"resources": [
{
"address": "data.coder_parameter.example",
"mode": "data",
"type": "coder_parameter",
"name": "example",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"values": {
"default": null,
"description": null,
"icon": null,
"id": "80782610-71f2-45a2-97ea-6029ddbf7ae8",
"mutable": false,
"name": "Example",
"option": [
{
"description": "",
"icon": "",
"name": "First Option",
"value": "first"
},
{
"description": "",
"icon": "",
"name": "Second Option",
"value": "second"
}
],
"type": "string",
"validation": null,
"value": ""
},
"sensitive_values": {
"option": [
{},
{}
]
}
}
]
}
}
},
"configuration": {
"provider_config": {
"coder": {
"name": "coder",
"full_name": "registry.terraform.io/coder/coder",
"version_constraint": "0.6.6"
},
"null": {
"name": "null",
"full_name": "registry.terraform.io/hashicorp/null"
}
},
"root_module": {
"resources": [
{
"address": "coder_agent.dev",
"mode": "managed",
"type": "coder_agent",
"name": "dev",
"provider_config_key": "coder",
"expressions": {
"arch": {
"constant_value": "arm64"
},
"os": {
"constant_value": "windows"
}
},
"schema_version": 0
},
{
"address": "null_resource.dev",
"mode": "managed",
"type": "null_resource",
"name": "dev",
"provider_config_key": "null",
"schema_version": 0,
"depends_on": [
"coder_agent.dev"
]
},
{
"address": "data.coder_parameter.example",
"mode": "data",
"type": "coder_parameter",
"name": "example",
"provider_config_key": "coder",
"expressions": {
"name": {
"constant_value": "Example"
},
"option": [
{
"name": {
"constant_value": "First Option"
},
"value": {
"constant_value": "first"
}
},
{
"name": {
"constant_value": "Second Option"
},
"value": {
"constant_value": "second"
}
}
],
"type": {
"constant_value": "string"
}
},
"schema_version": 0
}
]
}
}
}