Files
coder/provisioner/terraform/testdata/multiple-agents-multiple-scripts/multiple-agents-multiple-scripts.tfstate.json
T
2024-10-28 15:24:57 -05:00

208 lines
6.2 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": 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": "753eb8c0-e2b7-4cbc-b0ff-1370ce2e4022",
"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": "77b179b6-0e2d-4307-9ba0-98325fc96e37",
"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": "86f7e422-1798-4de5-8209-69b023808241",
"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": "aa4ae02d-4084-4dff-951c-af10f78a98c2",
"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": "753eb8c0-e2b7-4cbc-b0ff-1370ce2e4022",
"cron": null,
"display_name": "Foobar Script 1",
"icon": null,
"id": "eb1eb8f4-3a4a-4040-bd6a-0abce01d6330",
"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": "753eb8c0-e2b7-4cbc-b0ff-1370ce2e4022",
"cron": null,
"display_name": "Foobar Script 2",
"icon": null,
"id": "1de43abc-8416-4455-87ca-23fb425b4eeb",
"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": "86f7e422-1798-4de5-8209-69b023808241",
"cron": null,
"display_name": "Foobar Script 3",
"icon": null,
"id": "ede835f7-4018-464c-807d-7e07af7de9d3",
"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": "4207133259459553257",
"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": "5647997484430231619",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.dev2"
]
}
]
}
}
}