Open MujahidRashid opened 3 years ago
Hi After creating a new notification resource
resource "icinga2_notification" "project-stage-website" { hostname = "project-stage-website" command = "slack-host-notification" users = ["slack"] }
the terraform state shows the following
{ "version": 4, "terraform_version": "0.14.6", "serial": 4, "lineage": "dc265d13-d932-889a-4ab9-0f11cf99fb23", "outputs": {}, "resources": [ { "mode": "managed", "type": "icinga2_notification", "name": "project-stage-website", "provider": "provider[\"registry.terraform.io/icinga/icinga2\"]", "instances": [ { "schema_version": 0, "attributes": { "command": "slack-host-notification", "hostname": "project-stage-website", "id": "project-stage-website!project-stage-website", "interval": 1800, "servicename": "", "templates": null, "users": [ "slack" ], "vars": {} }, "sensitive_attributes": [], "private": "bnVsbA==" } ] } ] }
rerunning any changes after that gives the following error Error: Failed to Read Notification project-stage-website! : %!s()
The id field seems weird
Terraform v0.14.6 + provider registry.terraform.io/icinga/icinga2 v0.5.0-pre
Hi After creating a new notification resource
the terraform state shows the following
rerunning any changes after that gives the following error)
Error: Failed to Read Notification project-stage-website! : %!s(
The id field seems weird