{
  "format_version": "1.2",
  "terraform_version": "1.9.2",
  "planned_values": {
    "root_module": {
      "resources": [
        {
          "address": "coder_agent.dev",
          "mode": "managed",
          "type": "coder_agent",
          "name": "dev",
          "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": true,
            "metadata": [],
            "motd_file": null,
            "order": null,
            "os": "windows",
            "shutdown_script": null,
            "shutdown_script_timeout": 300,
            "startup_script": null,
            "startup_script_behavior": null,
            "startup_script_timeout": 300,
            "troubleshooting_url": null
          },
          "sensitive_values": {
            "display_apps": [],
            "metadata": [],
            "token": true
          }
        },
        {
          "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.dev",
      "mode": "managed",
      "type": "coder_agent",
      "name": "dev",
      "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": true,
          "metadata": [],
          "motd_file": null,
          "order": null,
          "os": "windows",
          "shutdown_script": null,
          "shutdown_script_timeout": 300,
          "startup_script": null,
          "startup_script_behavior": null,
          "startup_script_timeout": 300,
          "troubleshooting_url": null
        },
        "after_unknown": {
          "display_apps": true,
          "id": true,
          "init_script": true,
          "metadata": [],
          "token": true
        },
        "before_sensitive": false,
        "after_sensitive": {
          "display_apps": [],
          "metadata": [],
          "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": {}
      }
    }
  ],
  "prior_state": {
    "format_version": "1.0",
    "terraform_version": "1.9.2",
    "values": {
      "root_module": {
        "resources": [
          {
            "address": "data.coder_parameter.example",
            "mode": "data",
            "type": "coder_parameter",
            "name": "example",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": null,
              "description": null,
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "b0837593-03d9-4039-87d3-9170a6513751",
              "mutable": false,
              "name": "Example",
              "option": [
                {
                  "description": "",
                  "icon": "",
                  "name": "First Option",
                  "value": "first"
                },
                {
                  "description": "",
                  "icon": "",
                  "name": "Second Option",
                  "value": "second"
                }
              ],
              "optional": false,
              "order": null,
              "type": "string",
              "validation": [],
              "value": ""
            },
            "sensitive_values": {
              "option": [
                {},
                {}
              ],
              "validation": []
            }
          },
          {
            "address": "data.coder_parameter.number_example",
            "mode": "data",
            "type": "coder_parameter",
            "name": "number_example",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": "4",
              "description": null,
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "aff9e428-f431-4ca1-8c2f-3c1adf662ed7",
              "mutable": false,
              "name": "number_example",
              "option": null,
              "optional": true,
              "order": null,
              "type": "number",
              "validation": [],
              "value": "4"
            },
            "sensitive_values": {
              "validation": []
            }
          },
          {
            "address": "data.coder_parameter.number_example_max_zero",
            "mode": "data",
            "type": "coder_parameter",
            "name": "number_example_max_zero",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": "-2",
              "description": null,
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "15371ea5-9ffc-4672-8c7b-338eed974655",
              "mutable": false,
              "name": "number_example_max_zero",
              "option": null,
              "optional": true,
              "order": null,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 0,
                  "max_disabled": false,
                  "min": -3,
                  "min_disabled": false,
                  "monotonic": "",
                  "regex": ""
                }
              ],
              "value": "-2"
            },
            "sensitive_values": {
              "validation": [
                {}
              ]
            }
          },
          {
            "address": "data.coder_parameter.number_example_min_max",
            "mode": "data",
            "type": "coder_parameter",
            "name": "number_example_min_max",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": "4",
              "description": null,
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "2e77000c-d96f-4110-ad55-3a733fef768c",
              "mutable": false,
              "name": "number_example_min_max",
              "option": null,
              "optional": true,
              "order": null,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 6,
                  "max_disabled": false,
                  "min": 3,
                  "min_disabled": false,
                  "monotonic": "",
                  "regex": ""
                }
              ],
              "value": "4"
            },
            "sensitive_values": {
              "validation": [
                {}
              ]
            }
          },
          {
            "address": "data.coder_parameter.number_example_min_zero",
            "mode": "data",
            "type": "coder_parameter",
            "name": "number_example_min_zero",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": "4",
              "description": null,
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "2c9f5877-7df8-42a8-9d34-20d7a74832e0",
              "mutable": false,
              "name": "number_example_min_zero",
              "option": null,
              "optional": true,
              "order": null,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 6,
                  "max_disabled": false,
                  "min": 0,
                  "min_disabled": false,
                  "monotonic": "",
                  "regex": ""
                }
              ],
              "value": "4"
            },
            "sensitive_values": {
              "validation": [
                {}
              ]
            }
          },
          {
            "address": "data.coder_parameter.sample",
            "mode": "data",
            "type": "coder_parameter",
            "name": "sample",
            "provider_name": "registry.terraform.io/coder/coder",
            "schema_version": 0,
            "values": {
              "default": "ok",
              "description": "blah blah",
              "display_name": null,
              "ephemeral": false,
              "icon": null,
              "id": "d9eb4625-889c-4eb7-87d4-80644c5ee57a",
              "mutable": false,
              "name": "Sample",
              "option": null,
              "optional": true,
              "order": null,
              "type": "string",
              "validation": [],
              "value": "ok"
            },
            "sensitive_values": {
              "validation": []
            }
          }
        ],
        "child_modules": [
          {
            "resources": [
              {
                "address": "module.this_is_external_module.data.coder_parameter.first_parameter_from_module",
                "mode": "data",
                "type": "coder_parameter",
                "name": "first_parameter_from_module",
                "provider_name": "registry.terraform.io/coder/coder",
                "schema_version": 0,
                "values": {
                  "default": "abcdef",
                  "description": "First parameter from module",
                  "display_name": null,
                  "ephemeral": false,
                  "icon": null,
                  "id": "7549ee27-b944-46e8-89c7-66ce22285efc",
                  "mutable": true,
                  "name": "First parameter from module",
                  "option": null,
                  "optional": true,
                  "order": null,
                  "type": "string",
                  "validation": [],
                  "value": "abcdef"
                },
                "sensitive_values": {
                  "validation": []
                }
              },
              {
                "address": "module.this_is_external_module.data.coder_parameter.second_parameter_from_module",
                "mode": "data",
                "type": "coder_parameter",
                "name": "second_parameter_from_module",
                "provider_name": "registry.terraform.io/coder/coder",
                "schema_version": 0,
                "values": {
                  "default": "ghijkl",
                  "description": "Second parameter from module",
                  "display_name": null,
                  "ephemeral": false,
                  "icon": null,
                  "id": "c5fd9f8a-f83f-450a-b93a-4f4267be580a",
                  "mutable": true,
                  "name": "Second parameter from module",
                  "option": null,
                  "optional": true,
                  "order": null,
                  "type": "string",
                  "validation": [],
                  "value": "ghijkl"
                },
                "sensitive_values": {
                  "validation": []
                }
              }
            ],
            "address": "module.this_is_external_module",
            "child_modules": [
              {
                "resources": [
                  {
                    "address": "module.this_is_external_module.module.this_is_external_child_module.data.coder_parameter.child_first_parameter_from_module",
                    "mode": "data",
                    "type": "coder_parameter",
                    "name": "child_first_parameter_from_module",
                    "provider_name": "registry.terraform.io/coder/coder",
                    "schema_version": 0,
                    "values": {
                      "default": "abcdef",
                      "description": "First parameter from child module",
                      "display_name": null,
                      "ephemeral": false,
                      "icon": null,
                      "id": "1b819f45-1451-45d8-bdf6-80c067be383b",
                      "mutable": true,
                      "name": "First parameter from child module",
                      "option": null,
                      "optional": true,
                      "order": null,
                      "type": "string",
                      "validation": [],
                      "value": "abcdef"
                    },
                    "sensitive_values": {
                      "validation": []
                    }
                  },
                  {
                    "address": "module.this_is_external_module.module.this_is_external_child_module.data.coder_parameter.child_second_parameter_from_module",
                    "mode": "data",
                    "type": "coder_parameter",
                    "name": "child_second_parameter_from_module",
                    "provider_name": "registry.terraform.io/coder/coder",
                    "schema_version": 0,
                    "values": {
                      "default": "ghijkl",
                      "description": "Second parameter from child module",
                      "display_name": null,
                      "ephemeral": false,
                      "icon": null,
                      "id": "103f609f-e7d4-4060-b9dc-cc59afbcc2ad",
                      "mutable": true,
                      "name": "Second parameter from child module",
                      "option": null,
                      "optional": true,
                      "order": null,
                      "type": "string",
                      "validation": [],
                      "value": "ghijkl"
                    },
                    "sensitive_values": {
                      "validation": []
                    }
                  }
                ],
                "address": "module.this_is_external_module.module.this_is_external_child_module"
              }
            ]
          }
        ]
      }
    }
  },
  "configuration": {
    "provider_config": {
      "coder": {
        "name": "coder",
        "full_name": "registry.terraform.io/coder/coder",
        "version_constraint": "0.22.0"
      },
      "module.this_is_external_module:docker": {
        "name": "docker",
        "full_name": "registry.terraform.io/kreuzwerker/docker",
        "version_constraint": "~> 2.22",
        "module_address": "module.this_is_external_module"
      },
      "null": {
        "name": "null",
        "full_name": "registry.terraform.io/hashicorp/null"
      }
    },
    "root_module": {
      "resources": [
        {
          "address": "coder_agent.dev",
          "mode": "managed",
          "type": "coder_agent",
          "name": "dev",
          "provider_config_key": "coder",
          "expressions": {
            "arch": {
              "constant_value": "arm64"
            },
            "os": {
              "constant_value": "windows"
            }
          },
          "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.dev"
          ]
        },
        {
          "address": "data.coder_parameter.example",
          "mode": "data",
          "type": "coder_parameter",
          "name": "example",
          "provider_config_key": "coder",
          "expressions": {
            "name": {
              "constant_value": "Example"
            },
            "option": [
              {
                "name": {
                  "constant_value": "First Option"
                },
                "value": {
                  "constant_value": "first"
                }
              },
              {
                "name": {
                  "constant_value": "Second Option"
                },
                "value": {
                  "constant_value": "second"
                }
              }
            ],
            "type": {
              "constant_value": "string"
            }
          },
          "schema_version": 0
        },
        {
          "address": "data.coder_parameter.number_example",
          "mode": "data",
          "type": "coder_parameter",
          "name": "number_example",
          "provider_config_key": "coder",
          "expressions": {
            "default": {
              "constant_value": 4
            },
            "name": {
              "constant_value": "number_example"
            },
            "type": {
              "constant_value": "number"
            }
          },
          "schema_version": 0
        },
        {
          "address": "data.coder_parameter.number_example_max_zero",
          "mode": "data",
          "type": "coder_parameter",
          "name": "number_example_max_zero",
          "provider_config_key": "coder",
          "expressions": {
            "default": {
              "constant_value": -2
            },
            "name": {
              "constant_value": "number_example_max_zero"
            },
            "type": {
              "constant_value": "number"
            },
            "validation": [
              {
                "max": {
                  "constant_value": 0
                },
                "min": {
                  "constant_value": -3
                }
              }
            ]
          },
          "schema_version": 0
        },
        {
          "address": "data.coder_parameter.number_example_min_max",
          "mode": "data",
          "type": "coder_parameter",
          "name": "number_example_min_max",
          "provider_config_key": "coder",
          "expressions": {
            "default": {
              "constant_value": 4
            },
            "name": {
              "constant_value": "number_example_min_max"
            },
            "type": {
              "constant_value": "number"
            },
            "validation": [
              {
                "max": {
                  "constant_value": 6
                },
                "min": {
                  "constant_value": 3
                }
              }
            ]
          },
          "schema_version": 0
        },
        {
          "address": "data.coder_parameter.number_example_min_zero",
          "mode": "data",
          "type": "coder_parameter",
          "name": "number_example_min_zero",
          "provider_config_key": "coder",
          "expressions": {
            "default": {
              "constant_value": 4
            },
            "name": {
              "constant_value": "number_example_min_zero"
            },
            "type": {
              "constant_value": "number"
            },
            "validation": [
              {
                "max": {
                  "constant_value": 6
                },
                "min": {
                  "constant_value": 0
                }
              }
            ]
          },
          "schema_version": 0
        },
        {
          "address": "data.coder_parameter.sample",
          "mode": "data",
          "type": "coder_parameter",
          "name": "sample",
          "provider_config_key": "coder",
          "expressions": {
            "default": {
              "constant_value": "ok"
            },
            "description": {
              "constant_value": "blah blah"
            },
            "name": {
              "constant_value": "Sample"
            },
            "type": {
              "constant_value": "string"
            }
          },
          "schema_version": 0
        }
      ],
      "module_calls": {
        "this_is_external_module": {
          "source": "./external-module",
          "module": {
            "resources": [
              {
                "address": "data.coder_parameter.first_parameter_from_module",
                "mode": "data",
                "type": "coder_parameter",
                "name": "first_parameter_from_module",
                "provider_config_key": "coder",
                "expressions": {
                  "default": {
                    "constant_value": "abcdef"
                  },
                  "description": {
                    "constant_value": "First parameter from module"
                  },
                  "mutable": {
                    "constant_value": true
                  },
                  "name": {
                    "constant_value": "First parameter from module"
                  },
                  "type": {
                    "constant_value": "string"
                  }
                },
                "schema_version": 0
              },
              {
                "address": "data.coder_parameter.second_parameter_from_module",
                "mode": "data",
                "type": "coder_parameter",
                "name": "second_parameter_from_module",
                "provider_config_key": "coder",
                "expressions": {
                  "default": {
                    "constant_value": "ghijkl"
                  },
                  "description": {
                    "constant_value": "Second parameter from module"
                  },
                  "mutable": {
                    "constant_value": true
                  },
                  "name": {
                    "constant_value": "Second parameter from module"
                  },
                  "type": {
                    "constant_value": "string"
                  }
                },
                "schema_version": 0
              }
            ],
            "module_calls": {
              "this_is_external_child_module": {
                "source": "./child-external-module",
                "module": {
                  "resources": [
                    {
                      "address": "data.coder_parameter.child_first_parameter_from_module",
                      "mode": "data",
                      "type": "coder_parameter",
                      "name": "child_first_parameter_from_module",
                      "provider_config_key": "coder",
                      "expressions": {
                        "default": {
                          "constant_value": "abcdef"
                        },
                        "description": {
                          "constant_value": "First parameter from child module"
                        },
                        "mutable": {
                          "constant_value": true
                        },
                        "name": {
                          "constant_value": "First parameter from child module"
                        },
                        "type": {
                          "constant_value": "string"
                        }
                      },
                      "schema_version": 0
                    },
                    {
                      "address": "data.coder_parameter.child_second_parameter_from_module",
                      "mode": "data",
                      "type": "coder_parameter",
                      "name": "child_second_parameter_from_module",
                      "provider_config_key": "coder",
                      "expressions": {
                        "default": {
                          "constant_value": "ghijkl"
                        },
                        "description": {
                          "constant_value": "Second parameter from child module"
                        },
                        "mutable": {
                          "constant_value": true
                        },
                        "name": {
                          "constant_value": "Second parameter from child module"
                        },
                        "type": {
                          "constant_value": "string"
                        }
                      },
                      "schema_version": 0
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "timestamp": "2024-07-15T17:48:56Z",
  "applyable": true,
  "complete": true,
  "errored": false
}
