Skip to content

Instantly share code, notes, and snippets.

@dakota-marshall
Created August 30, 2023 17:56
Show Gist options
  • Save dakota-marshall/448d27e7e2e757eb4c382f2602e73c18 to your computer and use it in GitHub Desktop.
Save dakota-marshall/448d27e7e2e757eb4c382f2602e73c18 to your computer and use it in GitHub Desktop.
error-output
│ Error: Incorrect attribute value type
│ on ../../modules/icinga2/main.tf line 81, in resource "icinga2_host" "host-object":
│ 81: vars = {
│ 82: os = var.os
│ 83: specialty = var.specialty
│ 84: department = var.department
│ 85: priority = var.priority
│ 86: level = var.level
│ 87: automation_groups = var.automation_groups
│ 88: ssl_uris = var.ssl_uris
│ 89: roles = var.roles
│ 90: checks = var.checks
│ 91: disabled_checks = var.disabled_checks
│ 92: httpurl = var.httpurl
│ 93: }
│ ├────────────────
│ │ var.automation_groups is tuple with 2 elements
│ │ var.checks is tuple with 2 elements
│ │ var.department is "cts"
│ │ var.disabled_checks is tuple with 1 element
│ │ var.httpurl is "marcusoh-k8s02.cloud.svc"
│ │ var.level is 2
│ │ var.os is "linux"
│ │ var.priority is tuple with 1 element
│ │ var.roles is tuple with 1 element
│ │ var.specialty is "linux"
│ │ var.ssl_uris is tuple with 1 element
│ Inappropriate value for attribute "vars": element "disabled_checks": string required.
│ Error: Incorrect attribute value type
│ on ../../modules/icinga2/main.tf line 81, in resource "icinga2_host" "host-object":
│ 81: vars = {
│ 82: os = var.os
│ 83: specialty = var.specialty
│ 84: department = var.department
│ 85: priority = var.priority
│ 86: level = var.level
│ 87: automation_groups = var.automation_groups
│ 88: ssl_uris = var.ssl_uris
│ 89: roles = var.roles
│ 90: checks = var.checks
│ 91: disabled_checks = var.disabled_checks
│ 92: httpurl = var.httpurl
│ 93: }
│ ├────────────────
│ │ var.automation_groups is tuple with 2 elements
│ │ var.checks is tuple with 2 elements
│ │ var.department is "cts"
│ │ var.disabled_checks is tuple with 1 element
│ │ var.httpurl is "marcusoh-k8s03.cloud.svc"
│ │ var.level is 2
│ │ var.os is "linux"
│ │ var.priority is tuple with 1 element
│ │ var.roles is tuple with 1 element
│ │ var.specialty is "linux"
│ │ var.ssl_uris is tuple with 1 element
│ Inappropriate value for attribute "vars": element "automation_groups": string required.
│ Error: Incorrect attribute value type
│ on ../../modules/icinga2/main.tf line 81, in resource "icinga2_host" "host-object":
│ 81: vars = {
│ 82: os = var.os
│ 83: specialty = var.specialty
│ 84: department = var.department
│ 85: priority = var.priority
│ 86: level = var.level
│ 87: automation_groups = var.automation_groups
│ 88: ssl_uris = var.ssl_uris
│ 89: roles = var.roles
│ 90: checks = var.checks
│ 91: disabled_checks = var.disabled_checks
│ 92: httpurl = var.httpurl
│ 93: }
│ ├────────────────
│ │ var.automation_groups is tuple with 2 elements
│ │ var.checks is tuple with 2 elements
│ │ var.department is "cts"
│ │ var.disabled_checks is tuple with 1 element
│ │ var.httpurl is "marcusoh-k8s01.cloud.svc"
│ │ var.level is 2
│ │ var.os is "linux"
│ │ var.priority is tuple with 1 element
│ │ var.roles is tuple with 1 element
│ │ var.specialty is "linux"
│ │ var.ssl_uris is tuple with 1 element
│ Inappropriate value for attribute "vars": element "disabled_checks": string required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment