{
  "format_version": "1.1",
  "terraform_version": "1.4.0",
  "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,
            "os": "windows",
            "shutdown_script": null,
            "shutdown_script_timeout": 300,
            "startup_script": null,
            "startup_script_timeout": 300,
            "troubleshooting_url": null
          },
          "sensitive_values": {
            "metadata": []
          }
        },
        {
          "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,
          "os": "windows",
          "shutdown_script": null,
          "shutdown_script_timeout": 300,
          "startup_script": null,
          "startup_script_timeout": 300,
          "troubleshooting_url": null
        },
        "after_unknown": {
          "id": true,
          "init_script": true,
          "metadata": [],
          "token": true
        },
        "before_sensitive": false,
        "after_sensitive": {
          "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.4.0",
    "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,
              "icon": null,
              "id": "5b7b6210-ce5d-4cc4-bbd6-0b329ca1c04f",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "Example",
              "option": [
                {
                  "description": "",
                  "icon": "",
                  "name": "First Option",
                  "value": "first"
                },
                {
                  "description": "",
                  "icon": "",
                  "name": "Second Option",
                  "value": "second"
                }
              ],
              "optional": false,
              "type": "string",
              "validation": null,
              "value": ""
            },
            "sensitive_values": {
              "option": [
                {},
                {}
              ]
            }
          },
          {
            "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,
              "icon": null,
              "id": "72a5396c-0b3f-427d-b491-2700b025b3a1",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "number_example",
              "option": null,
              "optional": true,
              "type": "number",
              "validation": null,
              "value": "4"
            },
            "sensitive_values": {}
          },
          {
            "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,
              "icon": null,
              "id": "63769975-a1e0-42ed-92c1-e003af6b4c54",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "number_example_max_zero",
              "option": null,
              "optional": true,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 0,
                  "min": -3,
                  "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,
              "icon": null,
              "id": "2fce5c05-7018-402b-b653-98d75ad076a2",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "number_example_min_max",
              "option": null,
              "optional": true,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 6,
                  "min": 3,
                  "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,
              "icon": null,
              "id": "4408d7e5-3353-4434-810c-d8c913f29edd",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "number_example_min_zero",
              "option": null,
              "optional": true,
              "type": "number",
              "validation": [
                {
                  "error": "",
                  "max": 6,
                  "min": 0,
                  "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,
              "icon": null,
              "id": "2b05e465-b243-4ae0-9210-634cf0f65d20",
              "legacy_variable": null,
              "legacy_variable_name": null,
              "mutable": false,
              "name": "Sample",
              "option": null,
              "optional": true,
              "type": "string",
              "validation": null,
              "value": "ok"
            },
            "sensitive_values": {}
          }
        ],
        "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,
                  "icon": null,
                  "id": "fc0491e2-ea2e-4fa7-9b0b-08298fb768f4",
                  "legacy_variable": null,
                  "legacy_variable_name": null,
                  "mutable": true,
                  "name": "First parameter from module",
                  "option": null,
                  "optional": true,
                  "type": "string",
                  "validation": null,
                  "value": "abcdef"
                },
                "sensitive_values": {}
              },
              {
                "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,
                  "icon": null,
                  "id": "693fb916-39ed-4798-8724-0e751a2458e4",
                  "legacy_variable": null,
                  "legacy_variable_name": null,
                  "mutable": true,
                  "name": "Second parameter from module",
                  "option": null,
                  "optional": true,
                  "type": "string",
                  "validation": null,
                  "value": "ghijkl"
                },
                "sensitive_values": {}
              }
            ],
            "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,
                      "icon": null,
                      "id": "8014f515-a467-4dfe-ac63-8c7eadfc3521",
                      "legacy_variable": null,
                      "legacy_variable_name": null,
                      "mutable": true,
                      "name": "First parameter from child module",
                      "option": null,
                      "optional": true,
                      "type": "string",
                      "validation": null,
                      "value": "abcdef"
                    },
                    "sensitive_values": {}
                  },
                  {
                    "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,
                      "icon": null,
                      "id": "e94a306e-c1aa-47f5-833f-19719868d9ce",
                      "legacy_variable": null,
                      "legacy_variable_name": null,
                      "mutable": true,
                      "name": "Second parameter from child module",
                      "option": null,
                      "optional": true,
                      "type": "string",
                      "validation": null,
                      "value": "ghijkl"
                    },
                    "sensitive_values": {}
                  }
                ],
                "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.7.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
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
