{ "format_version": "1.2", "terraform_version": "1.11.0", "planned_values": { "root_module": { "resources": [ { "address": "coder_agent.main", "mode": "managed", "type": "coder_agent", "name": "main", "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 } } ], "child_modules": [ { "resources": [ { "address": "module.module.data.null_data_source.script", "mode": "data", "type": "null_data_source", "name": "script", "provider_name": "registry.terraform.io/hashicorp/null", "schema_version": 0, "values": { "inputs": {} }, "sensitive_values": { "inputs": {}, "outputs": {} } }, { "address": "module.module.null_resource.example", "mode": "managed", "type": "null_resource", "name": "example", "provider_name": "registry.terraform.io/hashicorp/null", "schema_version": 0, "values": { "triggers": null }, "sensitive_values": {} } ], "address": "module.module" } ] } }, "resource_changes": [ { "address": "coder_agent.main", "mode": "managed", "type": "coder_agent", "name": "main", "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": "module.module.data.null_data_source.script", "module_address": "module.module", "mode": "data", "type": "null_data_source", "name": "script", "provider_name": "registry.terraform.io/hashicorp/null", "change": { "actions": [ "read" ], "before": null, "after": { "inputs": {} }, "after_unknown": { "has_computed_default": true, "id": true, "inputs": { "script": true }, "outputs": true, "random": true }, "before_sensitive": false, "after_sensitive": { "inputs": {}, "outputs": {} } }, "action_reason": "read_because_config_unknown" }, { "address": "module.module.null_resource.example", "module_address": "module.module", "mode": "managed", "type": "null_resource", "name": "example", "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" }, "module.module:null": { "name": "null", "full_name": "registry.terraform.io/hashicorp/null", "module_address": "module.module" } }, "root_module": { "resources": [ { "address": "coder_agent.main", "mode": "managed", "type": "coder_agent", "name": "main", "provider_config_key": "coder", "expressions": { "arch": { "constant_value": "amd64" }, "os": { "constant_value": "linux" } }, "schema_version": 1 } ], "module_calls": { "module": { "source": "./module", "expressions": { "script": { "references": [ "coder_agent.main.init_script", "coder_agent.main" ] } }, "module": { "resources": [ { "address": "null_resource.example", "mode": "managed", "type": "null_resource", "name": "example", "provider_config_key": "module.module:null", "schema_version": 0, "depends_on": [ "data.null_data_source.script" ] }, { "address": "data.null_data_source.script", "mode": "data", "type": "null_data_source", "name": "script", "provider_config_key": "module.module:null", "expressions": { "inputs": { "references": [ "var.script" ] } }, "schema_version": 0 } ], "variables": { "script": {} } } } } } }, "relevant_attributes": [ { "resource": "coder_agent.main", "attribute": [ "init_script" ] } ], "timestamp": "2025-03-03T20:39:59Z", "applyable": true, "complete": true, "errored": false }