mirror of https://github.com/coder/coder.git
376 lines
12 KiB
JSON
376 lines
12 KiB
JSON
{
|
|
"format_version": "1.0",
|
|
"terraform_version": "1.5.5",
|
|
"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": "3d3a933a-b52b-4b38-bf91-0937615b1b29",
|
|
"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": "f8b06fc2-f0c6-4483-8d10-d4601dfdd787",
|
|
"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": "886575fc-1863-49be-9a7d-125077df0ca5",
|
|
"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": "feb32685-cfdc-4aed-b8bd-290d7e41822f",
|
|
"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": "a5e72ae7-67f8-442c-837e-cce15f49fff0",
|
|
"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": "1dcf470f-25f5-4c1d-a68e-1833f8239591",
|
|
"legacy_variable": null,
|
|
"legacy_variable_name": null,
|
|
"mutable": false,
|
|
"name": "Sample",
|
|
"option": null,
|
|
"optional": true,
|
|
"type": "string",
|
|
"validation": null,
|
|
"value": "ok"
|
|
},
|
|
"sensitive_values": {}
|
|
},
|
|
{
|
|
"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,
|
|
"id": "126f2d92-9556-4187-be69-5827ba3e7ddd",
|
|
"init_script": "",
|
|
"login_before_ready": true,
|
|
"metadata": [],
|
|
"motd_file": null,
|
|
"os": "windows",
|
|
"shutdown_script": null,
|
|
"shutdown_script_timeout": 300,
|
|
"startup_script": null,
|
|
"startup_script_timeout": 300,
|
|
"token": "e2021a4f-4db5-4e26-8ecd-c4b6c6e79e92",
|
|
"troubleshooting_url": null
|
|
},
|
|
"sensitive_values": {
|
|
"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": {
|
|
"id": "3170372688900630060",
|
|
"triggers": null
|
|
},
|
|
"sensitive_values": {},
|
|
"depends_on": [
|
|
"coder_agent.dev"
|
|
]
|
|
}
|
|
],
|
|
"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": "24874d90-5faf-4574-b54d-01a12e25159d",
|
|
"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": "015a8629-347a-43f9-ba79-33d895f3b5b7",
|
|
"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": "85793115-42a5-4e52-be7b-77dcf337ffb6",
|
|
"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": "7754596b-a8b1-4a64-9ff1-27dd9473924c",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|