Files
coder/provisioner/terraform/testdata/multiple-agents-multiple-scripts/multiple-agents-multiple-scripts.tfstate.json
T
Vincent Vielle 6caa29a29f chore: fix terraform/provider testdata to use latest terraform-provider (#16309)
provisioner/terraform/testdata current version has been generated using
outdated version of terraform-provider - with some parameters that are
not relevant anymore, causing `generate.sh` to fail when trying to
generate new data.
2025-01-29 15:26:49 +01:00

206 lines
6.1 KiB
JSON
Generated

{
"format_version": "1.0",
"terraform_version": "1.9.8",
"values": {
"root_module": {
"resources": [
{
"address": "coder_agent.dev1",
"mode": "managed",
"type": "coder_agent",
"name": "dev1",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 1,
"values": {
"arch": "amd64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"display_apps": [
{
"port_forwarding_helper": true,
"ssh_helper": true,
"vscode": true,
"vscode_insiders": false,
"web_terminal": true
}
],
"env": null,
"id": "c7aacfcb-cec3-4a25-9a7a-85f52b6b4455",
"init_script": "",
"metadata": [],
"motd_file": null,
"order": null,
"os": "linux",
"resources_monitoring": [],
"shutdown_script": null,
"startup_script": null,
"startup_script_behavior": "non-blocking",
"token": "e3ef0184-6f6e-4ddb-bdbe-b42edfd11299",
"troubleshooting_url": null
},
"sensitive_values": {
"display_apps": [
{}
],
"metadata": [],
"resources_monitoring": [],
"token": true
}
},
{
"address": "coder_agent.dev2",
"mode": "managed",
"type": "coder_agent",
"name": "dev2",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 1,
"values": {
"arch": "amd64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"display_apps": [
{
"port_forwarding_helper": true,
"ssh_helper": true,
"vscode": true,
"vscode_insiders": false,
"web_terminal": true
}
],
"env": null,
"id": "094174ad-dd05-4510-a525-cb0f627e5ca7",
"init_script": "",
"metadata": [],
"motd_file": null,
"order": null,
"os": "linux",
"resources_monitoring": [],
"shutdown_script": null,
"startup_script": null,
"startup_script_behavior": "non-blocking",
"token": "7d48d7b2-95b8-463c-b3ec-5fd1d0c54d3e",
"troubleshooting_url": null
},
"sensitive_values": {
"display_apps": [
{}
],
"metadata": [],
"resources_monitoring": [],
"token": true
}
},
{
"address": "coder_script.script1",
"mode": "managed",
"type": "coder_script",
"name": "script1",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 1,
"values": {
"agent_id": "c7aacfcb-cec3-4a25-9a7a-85f52b6b4455",
"cron": null,
"display_name": "Foobar Script 1",
"icon": null,
"id": "eaf4ff5b-028c-4c32-bb77-893823c44158",
"log_path": null,
"run_on_start": true,
"run_on_stop": false,
"script": "echo foobar 1",
"start_blocks_login": false,
"timeout": 0
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev1"
]
},
{
"address": "coder_script.script2",
"mode": "managed",
"type": "coder_script",
"name": "script2",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 1,
"values": {
"agent_id": "c7aacfcb-cec3-4a25-9a7a-85f52b6b4455",
"cron": null,
"display_name": "Foobar Script 2",
"icon": null,
"id": "d3ade231-2366-4931-9a08-c773a3e36c86",
"log_path": null,
"run_on_start": true,
"run_on_stop": false,
"script": "echo foobar 2",
"start_blocks_login": false,
"timeout": 0
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev1"
]
},
{
"address": "coder_script.script3",
"mode": "managed",
"type": "coder_script",
"name": "script3",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 1,
"values": {
"agent_id": "094174ad-dd05-4510-a525-cb0f627e5ca7",
"cron": null,
"display_name": "Foobar Script 3",
"icon": null,
"id": "e46767c9-d946-4fd4-8fc7-7a7638dac480",
"log_path": null,
"run_on_start": true,
"run_on_stop": false,
"script": "echo foobar 3",
"start_blocks_login": false,
"timeout": 0
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev2"
]
},
{
"address": "null_resource.dev1",
"mode": "managed",
"type": "null_resource",
"name": "dev1",
"provider_name": "registry.terraform.io/hashicorp/null",
"schema_version": 0,
"values": {
"id": "2128129616327953329",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev1"
]
},
{
"address": "null_resource.dev2",
"mode": "managed",
"type": "null_resource",
"name": "dev2",
"provider_name": "registry.terraform.io/hashicorp/null",
"schema_version": 0,
"values": {
"id": "5573020717214922097",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev2"
]
}
]
}
}
}