Files
coder/provisioner/terraform/testdata/multiple-agents-multiple-scripts/multiple-agents-multiple-scripts.tfstate.json
T

208 lines
6.2 KiB
JSON
Generated

{
"format_version": "1.0",
"terraform_version": "1.8.4",
"values": {
"root_module": {
"resources": [
{
"address": "coder_agent.dev1",
"mode": "managed",
"type": "coder_agent",
"name": "dev1",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"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": "26676b01-8c32-4fe2-af05-8409004c2132",
"init_script": "",
"login_before_ready": true,
"metadata": [],
"motd_file": null,
"order": null,
"os": "linux",
"shutdown_script": null,
"shutdown_script_timeout": 300,
"startup_script": null,
"startup_script_behavior": null,
"startup_script_timeout": 300,
"token": "4d98aa2e-1b27-4a22-9658-0ccde329415c",
"troubleshooting_url": null
},
"sensitive_values": {
"display_apps": [
{}
],
"metadata": [],
"token": true
}
},
{
"address": "coder_agent.dev2",
"mode": "managed",
"type": "coder_agent",
"name": "dev2",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"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": "ad10d725-ec7d-45f4-8b83-d67f94878f3c",
"init_script": "",
"login_before_ready": true,
"metadata": [],
"motd_file": null,
"order": null,
"os": "linux",
"shutdown_script": null,
"shutdown_script_timeout": 300,
"startup_script": null,
"startup_script_behavior": null,
"startup_script_timeout": 300,
"token": "de109669-b8e5-479d-82d0-2d0471f9a2cf",
"troubleshooting_url": null
},
"sensitive_values": {
"display_apps": [
{}
],
"metadata": [],
"token": true
}
},
{
"address": "coder_script.script1",
"mode": "managed",
"type": "coder_script",
"name": "script1",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"values": {
"agent_id": "26676b01-8c32-4fe2-af05-8409004c2132",
"cron": null,
"display_name": "Foobar Script 1",
"icon": null,
"id": "3083dd1d-67a0-46eb-a8c1-8d3d83a411c1",
"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": 0,
"values": {
"agent_id": "26676b01-8c32-4fe2-af05-8409004c2132",
"cron": null,
"display_name": "Foobar Script 2",
"icon": null,
"id": "ddb41617-27e2-43c8-b735-99d8567f46ca",
"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": 0,
"values": {
"agent_id": "ad10d725-ec7d-45f4-8b83-d67f94878f3c",
"cron": null,
"display_name": "Foobar Script 3",
"icon": null,
"id": "d793afab-f40a-4ae2-99d5-eae9e3d0d45f",
"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": "4183830202442917773",
"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": "6920808379078063017",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev2"
]
}
]
}
}
}