Files
coder/provisioner/terraform/testdata/instance-id/instance-id.tfstate.json
T
Vincent Vielle 7cbd77fd94 feat: improve resources_monitoring for OOM & OOD monitoring (#16241)
As requested for [this
issue](https://github.com/coder/internal/issues/245) we need to have a
new resource `resources_monitoring` in the agent.

It needs to be parsed from the provisioner and inserted into a new db
table.
2025-02-04 18:45:33 +01:00

88 lines
2.5 KiB
JSON
Generated

{
"format_version": "1.0",
"terraform_version": "1.9.8",
"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": {
"arch": "amd64",
"auth": "google-instance-identity",
"connection_timeout": 120,
"dir": null,
"display_apps": [
{
"port_forwarding_helper": true,
"ssh_helper": true,
"vscode": true,
"vscode_insiders": false,
"web_terminal": true
}
],
"env": null,
"id": "c6e99a38-f10b-4242-a7c6-bd9186008b9d",
"init_script": "",
"metadata": [],
"motd_file": null,
"order": null,
"os": "linux",
"resources_monitoring": [],
"shutdown_script": null,
"startup_script": null,
"startup_script_behavior": "non-blocking",
"token": "ecddacca-df83-4dd2-b6cb-71f439e9e5f5",
"troubleshooting_url": null
},
"sensitive_values": {
"display_apps": [
{}
],
"metadata": [],
"resources_monitoring": [],
"token": true
}
},
{
"address": "coder_agent_instance.main",
"mode": "managed",
"type": "coder_agent_instance",
"name": "main",
"provider_name": "registry.terraform.io/coder/coder",
"schema_version": 0,
"values": {
"agent_id": "c6e99a38-f10b-4242-a7c6-bd9186008b9d",
"id": "0ed215f9-07b0-455f-828d-faee5f63ea93",
"instance_id": "example"
},
"sensitive_values": {},
"depends_on": [
"coder_agent.main"
]
},
{
"address": "null_resource.main",
"mode": "managed",
"type": "null_resource",
"name": "main",
"provider_name": "registry.terraform.io/hashicorp/null",
"schema_version": 0,
"values": {
"id": "1340003819945612525",
"triggers": null
},
"sensitive_values": {},
"depends_on": [
"coder_agent.main"
]
}
]
}
}
}