{ "format_version": "1.2", "terraform_version": "1.11.0", "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": 1, "values": { "api_key_scope": "all", "arch": "amd64", "auth": "token", "connection_timeout": 120, "dir": null, "env": null, "metadata": [], "motd_file": null, "order": null, "os": "linux", "resources_monitoring": [], "shutdown_script": null, "startup_script": null, "startup_script_behavior": "non-blocking", "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": { "api_key_scope": "all", "arch": "amd64", "auth": "token", "connection_timeout": 120, "dir": null, "env": null, "metadata": [], "motd_file": null, "order": null, "os": "linux", "resources_monitoring": [], "shutdown_script": null, "startup_script": null, "startup_script_behavior": "non-blocking", "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": { "cron": null, "display_name": "Foobar Script 1", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 1", "start_blocks_login": false, "timeout": 0 }, "sensitive_values": {} }, { "address": "coder_script.script2", "mode": "managed", "type": "coder_script", "name": "script2", "provider_name": "registry.terraform.io/coder/coder", "schema_version": 1, "values": { "cron": null, "display_name": "Foobar Script 2", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 2", "start_blocks_login": false, "timeout": 0 }, "sensitive_values": {} }, { "address": "coder_script.script3", "mode": "managed", "type": "coder_script", "name": "script3", "provider_name": "registry.terraform.io/coder/coder", "schema_version": 1, "values": { "cron": null, "display_name": "Foobar Script 3", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 3", "start_blocks_login": false, "timeout": 0 }, "sensitive_values": {} }, { "address": "null_resource.dev1", "mode": "managed", "type": "null_resource", "name": "dev1", "provider_name": "registry.terraform.io/hashicorp/null", "schema_version": 0, "values": { "triggers": null }, "sensitive_values": {} }, { "address": "null_resource.dev2", "mode": "managed", "type": "null_resource", "name": "dev2", "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": { "api_key_scope": "all", "arch": "amd64", "auth": "token", "connection_timeout": 120, "dir": null, "env": null, "metadata": [], "motd_file": null, "order": null, "os": "linux", "resources_monitoring": [], "shutdown_script": null, "startup_script": null, "startup_script_behavior": "non-blocking", "troubleshooting_url": null }, "after_unknown": { "display_apps": true, "id": true, "init_script": true, "metadata": [], "resources_monitoring": [], "token": true }, "before_sensitive": false, "after_sensitive": { "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", "change": { "actions": [ "create" ], "before": null, "after": { "api_key_scope": "all", "arch": "amd64", "auth": "token", "connection_timeout": 120, "dir": null, "env": null, "metadata": [], "motd_file": null, "order": null, "os": "linux", "resources_monitoring": [], "shutdown_script": null, "startup_script": null, "startup_script_behavior": "non-blocking", "troubleshooting_url": null }, "after_unknown": { "display_apps": true, "id": true, "init_script": true, "metadata": [], "resources_monitoring": [], "token": true }, "before_sensitive": false, "after_sensitive": { "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", "change": { "actions": [ "create" ], "before": null, "after": { "cron": null, "display_name": "Foobar Script 1", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 1", "start_blocks_login": false, "timeout": 0 }, "after_unknown": { "agent_id": true, "id": true }, "before_sensitive": false, "after_sensitive": {} } }, { "address": "coder_script.script2", "mode": "managed", "type": "coder_script", "name": "script2", "provider_name": "registry.terraform.io/coder/coder", "change": { "actions": [ "create" ], "before": null, "after": { "cron": null, "display_name": "Foobar Script 2", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 2", "start_blocks_login": false, "timeout": 0 }, "after_unknown": { "agent_id": true, "id": true }, "before_sensitive": false, "after_sensitive": {} } }, { "address": "coder_script.script3", "mode": "managed", "type": "coder_script", "name": "script3", "provider_name": "registry.terraform.io/coder/coder", "change": { "actions": [ "create" ], "before": null, "after": { "cron": null, "display_name": "Foobar Script 3", "icon": null, "log_path": null, "run_on_start": true, "run_on_stop": false, "script": "echo foobar 3", "start_blocks_login": false, "timeout": 0 }, "after_unknown": { "agent_id": true, "id": true }, "before_sensitive": false, "after_sensitive": {} } }, { "address": "null_resource.dev1", "mode": "managed", "type": "null_resource", "name": "dev1", "provider_name": "registry.terraform.io/hashicorp/null", "change": { "actions": [ "create" ], "before": null, "after": { "triggers": null }, "after_unknown": { "id": true }, "before_sensitive": false, "after_sensitive": {} } }, { "address": "null_resource.dev2", "mode": "managed", "type": "null_resource", "name": "dev2", "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": ">= 2.0.0" }, "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": 1 }, { "address": "coder_agent.dev2", "mode": "managed", "type": "coder_agent", "name": "dev2", "provider_config_key": "coder", "expressions": { "arch": { "constant_value": "amd64" }, "os": { "constant_value": "linux" } }, "schema_version": 1 }, { "address": "coder_script.script1", "mode": "managed", "type": "coder_script", "name": "script1", "provider_config_key": "coder", "expressions": { "agent_id": { "references": [ "coder_agent.dev1.id", "coder_agent.dev1" ] }, "display_name": { "constant_value": "Foobar Script 1" }, "run_on_start": { "constant_value": true }, "script": { "constant_value": "echo foobar 1" } }, "schema_version": 1 }, { "address": "coder_script.script2", "mode": "managed", "type": "coder_script", "name": "script2", "provider_config_key": "coder", "expressions": { "agent_id": { "references": [ "coder_agent.dev1.id", "coder_agent.dev1" ] }, "display_name": { "constant_value": "Foobar Script 2" }, "run_on_start": { "constant_value": true }, "script": { "constant_value": "echo foobar 2" } }, "schema_version": 1 }, { "address": "coder_script.script3", "mode": "managed", "type": "coder_script", "name": "script3", "provider_config_key": "coder", "expressions": { "agent_id": { "references": [ "coder_agent.dev2.id", "coder_agent.dev2" ] }, "display_name": { "constant_value": "Foobar Script 3" }, "run_on_start": { "constant_value": true }, "script": { "constant_value": "echo foobar 3" } }, "schema_version": 1 }, { "address": "null_resource.dev1", "mode": "managed", "type": "null_resource", "name": "dev1", "provider_config_key": "null", "schema_version": 0, "depends_on": [ "coder_agent.dev1" ] }, { "address": "null_resource.dev2", "mode": "managed", "type": "null_resource", "name": "dev2", "provider_config_key": "null", "schema_version": 0, "depends_on": [ "coder_agent.dev2" ] } ] } }, "relevant_attributes": [ { "resource": "coder_agent.dev1", "attribute": [ "id" ] }, { "resource": "coder_agent.dev2", "attribute": [ "id" ] } ], "timestamp": "2025-03-03T20:39:59Z", "applyable": true, "complete": true, "errored": false }