{
  "format_version": "1.1",
  "terraform_version": "1.3.6",
  "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": 0,
          "values": {
            "arch": "amd64",
            "auth": "token",
            "connection_timeout": 120,
            "dir": null,
            "env": null,
            "os": "linux",
            "startup_script": null,
            "troubleshooting_url": null
          },
          "sensitive_values": {}
        }
      ],
      "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": {
          "arch": "amd64",
          "auth": "token",
          "connection_timeout": 120,
          "dir": null,
          "env": null,
          "os": "linux",
          "startup_script": null,
          "troubleshooting_url": null
        },
        "after_unknown": {
          "id": true,
          "init_script": true,
          "token": true
        },
        "before_sensitive": false,
        "after_sensitive": {
          "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": "0.6.1"
      },
      "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": 0
        }
      ],
      "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"
      ]
    }
  ]
}
