coder/provisioner/terraform/testdata/multiple-agents/multiple-agents.tfplan.json

319 lines
8.3 KiB
JSON

{
"format_version": "1.1",
"terraform_version": "1.3.7",
"planned_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,
"env": null,
"login_before_ready": true,
"motd_file": null,
"os": "linux",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 300,
"troubleshooting_url": null
},
"sensitive_values": {}
},
{
"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": 1,
"dir": null,
"env": null,
"login_before_ready": true,
"motd_file": "/etc/motd",
"os": "darwin",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 30,
"troubleshooting_url": null
},
"sensitive_values": {}
},
{
"address": "coder_agent.dev3",
"mode": "managed",
"type": "coder_agent",
"name": "dev3",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"values": {
"arch": "arm64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"env": null,
"login_before_ready": false,
"motd_file": null,
"os": "windows",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 300,
"troubleshooting_url": "https://coder.com/troubleshoot"
},
"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.dev1",
"mode": "managed",
"type": "coder_agent",
"name": "dev1",
"provider_name": "registry.terraform.io/coder/coder",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"arch": "amd64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"env": null,
"login_before_ready": true,
"motd_file": null,
"os": "linux",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 300,
"troubleshooting_url": null
},
"after_unknown": {
"id": true,
"init_script": true,
"token": true
},
"before_sensitive": false,
"after_sensitive": {
"token": true
}
}
},
{
"address": "coder_agent.dev2",
"mode": "managed",
"type": "coder_agent",
"name": "dev2",
"provider_name": "registry.terraform.io/coder/coder",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"arch": "amd64",
"auth": "token",
"connection_timeout": 1,
"dir": null,
"env": null,
"login_before_ready": true,
"motd_file": "/etc/motd",
"os": "darwin",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 30,
"troubleshooting_url": null
},
"after_unknown": {
"id": true,
"init_script": true,
"token": true
},
"before_sensitive": false,
"after_sensitive": {
"token": true
}
}
},
{
"address": "coder_agent.dev3",
"mode": "managed",
"type": "coder_agent",
"name": "dev3",
"provider_name": "registry.terraform.io/coder/coder",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"arch": "arm64",
"auth": "token",
"connection_timeout": 120,
"dir": null,
"env": null,
"login_before_ready": false,
"motd_file": null,
"os": "windows",
"shutdown_script": null,
"startup_script": null,
"startup_script_timeout": 300,
"troubleshooting_url": "https://coder.com/troubleshoot"
},
"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": {}
}
}
],
"configuration": {
"provider_config": {
"coder": {
"name": "coder",
"full_name": "registry.terraform.io/coder/coder",
"version_constraint": "0.6.10"
},
"null": {
"name": "null",
"full_name": "registry.terraform.io/hashicorp/null"
}
},
"root_module": {
"resources": [
{
"address": "coder_agent.dev1",
"mode": "managed",
"type": "coder_agent",
"name": "dev1",
"provider_config_key": "coder",
"expressions": {
"arch": {
"constant_value": "amd64"
},
"os": {
"constant_value": "linux"
}
},
"schema_version": 0
},
{
"address": "coder_agent.dev2",
"mode": "managed",
"type": "coder_agent",
"name": "dev2",
"provider_config_key": "coder",
"expressions": {
"arch": {
"constant_value": "amd64"
},
"connection_timeout": {
"constant_value": 1
},
"login_before_ready": {
"constant_value": true
},
"motd_file": {
"constant_value": "/etc/motd"
},
"os": {
"constant_value": "darwin"
},
"startup_script_timeout": {
"constant_value": 30
}
},
"schema_version": 0
},
{
"address": "coder_agent.dev3",
"mode": "managed",
"type": "coder_agent",
"name": "dev3",
"provider_config_key": "coder",
"expressions": {
"arch": {
"constant_value": "arm64"
},
"login_before_ready": {
"constant_value": false
},
"os": {
"constant_value": "windows"
},
"troubleshooting_url": {
"constant_value": "https://coder.com/troubleshoot"
}
},
"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.dev1",
"coder_agent.dev2",
"coder_agent.dev3"
]
}
]
}
}
}