Files
coder/provisioner/terraform/testdata/multiple-agents-multiple-scripts/multiple-agents-multiple-scripts.tfstate.json
T
2024-07-15 13:27:08 -05:00

208 lines
6.2 KiB
JSON
Generated

{
"format_version": "1.0",
"terraform_version": "1.9.2",
"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": "a46d73a8-3abc-4dab-84ae-1961772256ff",
"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": "75b94908-e753-440a-af7d-2a7a97866360",
"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": "b8cce9b4-6a56-43e1-a547-5526a05f2881",
"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": "14aa65f3-0e3f-4e86-bb86-5993c06526c1",
"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": "a46d73a8-3abc-4dab-84ae-1961772256ff",
"cron": null,
"display_name": "Foobar Script 1",
"icon": null,
"id": "13a60062-28d4-459c-8e53-729a45b4a75a",
"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": "a46d73a8-3abc-4dab-84ae-1961772256ff",
"cron": null,
"display_name": "Foobar Script 2",
"icon": null,
"id": "c13a1cc1-dfb5-4fab-a8c9-cd65bafef3c0",
"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": "b8cce9b4-6a56-43e1-a547-5526a05f2881",
"cron": null,
"display_name": "Foobar Script 3",
"icon": null,
"id": "50d359c9-6fdd-4f29-8292-f547b4e22b32",
"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": "6599800639836820524",
"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": "7049016876762601534",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev2"
]
}
]
}
}
}