appoptics / terraform-provider-appoptics

Apache License 2.0
4 stars 2 forks source link

TERRAFORM CRASH: rpc error: code = Unavailable desc = transport is closing #46

Open sandnabba opened 3 years ago

sandnabba commented 3 years ago

Hi!

I was just trying to add a runbook to an existing set of alerts.

This is the output of "git diff" in the current state:

@@ -125,7 +125,7 @@ resource "appoptics_alert" "tms_probe_failed_checks" {
     }
   }

-  #  attributes = {
-  #    runbook_url = ""
-  #  }
+  attributes = {
+    runbook_url = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
+  }
 }

There are several of these changes, but they all look the same.

Output from plan:

  ~ resource "appoptics_alert" "tms_probe_lag_warning" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073545"
        name          = "staging-tms-probe-lag-time-warning"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "tms.probe.lag.lag_time"
            summary_function = "average"
            threshold        = 10000
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

Full output from Terraform Apply:

emil@DvorakWork: ~/git/ops/sre-metrocard/estate/pingdom/terraform-templates/staging/ao_alerts $> terraform-0.12.23 apply   
appoptics_alert.tms_probe_lag_critical: Refreshing state... [id=89073532]
appoptics_alert.rbc_probe_failed_checks: Refreshing state... [id=89073534]
appoptics_alert.tms_probe_failed_checks: Refreshing state... [id=89073536]
appoptics_alert.elasticsearch_disk_left: Refreshing state... [id=89073535]
appoptics_alert.tms_probe_expired_checks: Refreshing state... [id=89073530]
appoptics_alert.rbc_probe_lag_warning: Refreshing state... [id=89073537]
appoptics_alert.rbc_probe_lag_critical: Refreshing state... [id=89073546]
appoptics_alert.rbc_probe_expired_checks: Refreshing state... [id=89073533]
appoptics_alert.tms_probe_lag_warning: Refreshing state... [id=89073545]
appoptics_alert.alb_unhealthy_hosts: Refreshing state... [id=89073531]

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # appoptics_alert.rbc_probe_expired_checks will be updated in-place
  ~ resource "appoptics_alert" "rbc_probe_expired_checks" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073533"
        name          = "staging-rbc-probe-test-expired"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "rbc.probe.tests_run.expired"
            summary_function = "average"
            threshold        = 2
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.rbc_probe_failed_checks will be updated in-place
  ~ resource "appoptics_alert" "rbc_probe_failed_checks" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073534"
        name          = "staging-rbc-probe-test-failed"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "rbc.probe.tests_run.failed"
            summary_function = "average"
            threshold        = 1
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.rbc_probe_lag_critical will be updated in-place
  ~ resource "appoptics_alert" "rbc_probe_lag_critical" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073546"
        name          = "staging-rbc-probe-lag-time-critical"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "rbc.probe.lag.lag_time"
            summary_function = "average"
            threshold        = 25000
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.rbc_probe_lag_warning will be updated in-place
  ~ resource "appoptics_alert" "rbc_probe_lag_warning" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073537"
        name          = "staging-rbc-probe-lag-time-warning"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "rbc.probe.lag.lag_time"
            summary_function = "average"
            threshold        = 10000
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.tms_probe_expired_checks will be updated in-place
  ~ resource "appoptics_alert" "tms_probe_expired_checks" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073530"
        name          = "staging-tms-probe-test-expired"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "tms.probe.tests_run.expired"
            summary_function = "average"
            threshold        = 2
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.tms_probe_failed_checks will be updated in-place
  ~ resource "appoptics_alert" "tms_probe_failed_checks" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073536"
        name          = "staging-tms-probe-test-failed"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "tms.probe.tests_run.failed"
            summary_function = "average"
            threshold        = 1
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.tms_probe_lag_critical will be updated in-place
  ~ resource "appoptics_alert" "tms_probe_lag_critical" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073532"
        name          = "staging-tms-probe-lag-time-critical"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "tms.probe.lag.lag_time"
            summary_function = "average"
            threshold        = 25000
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

  # appoptics_alert.tms_probe_lag_warning will be updated in-place
  ~ resource "appoptics_alert" "tms_probe_lag_warning" {
        active        = true
      ~ attributes    = {
          + "runbook_url" = "https://github.com/pingdom/runbooks/tree/master/probes/rbc_tms"
        }
        description   = "Managed by Terraform"
        id            = "89073545"
        name          = "staging-tms-probe-lag-time-warning"
        rearm_seconds = 10800
        services      = [
            "79389",
        ]

        condition {
            detect_reset     = false
            duration         = 300
            metric_name      = "tms.probe.lag.lag_time"
            summary_function = "average"
            threshold        = 10000
            type             = "above"

            tag {
                dynamic = false
                grouped = true
                name    = "environment"
                values  = [
                    "dev-svante",
                ]
            }
            tag {
                dynamic = false
                grouped = true
                name    = "region"
                values  = [
                    "*",
                ]
            }
        }
    }

Plan: 0 to add, 8 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

appoptics_alert.tms_probe_failed_checks: Modifying... [id=89073536]
appoptics_alert.rbc_probe_expired_checks: Modifying... [id=89073533]
appoptics_alert.tms_probe_lag_warning: Modifying... [id=89073545]
appoptics_alert.rbc_probe_failed_checks: Modifying... [id=89073534]
appoptics_alert.rbc_probe_lag_warning: Modifying... [id=89073537]
appoptics_alert.rbc_probe_lag_critical: Modifying... [id=89073546]
appoptics_alert.tms_probe_lag_critical: Modifying... [id=89073532]
appoptics_alert.tms_probe_expired_checks: Modifying... [id=89073530]

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

panic: interface conversion: interface {} is map[string]interface {}, not []interface {}
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: 
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: goroutine 94 [running]:
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: github.com/appoptics/terraform-provider-appoptics/appoptics.resourceAppOpticsAlertUpdate(0xc0007d22d0, 0x1180040, 0xc0000f10a0, 0x24, 0x1d6b680)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/git/go/src/github.com/appoptics/terraform-provider-appoptics/appoptics/resource_appoptics_alert.go:477 +0x1664
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000104f80, 0xc0001120e0, 0xc000019be0, 0x1180040, 0xc0000f10a0, 0x1062401, 0xc0006e0f88, 0xc000a832c0)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/github.com/hashicorp/terraform@v0.13.0/helper/schema/resource.go:314 +0x2a2
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000105080, 0xc000475a28, 0xc0001120e0, 0xc000019be0, 0xc00085dee8, 0xc00041a000, 0x1064840)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/github.com/hashicorp/terraform@v0.13.0/helper/schema/provider.go:297 +0x99
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc0007a20f8, 0x1515f40, 0xc000aa5320, 0xc0002dc380, 0xc0007a20f8, 0x0, 0xc00072cba0)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/github.com/hashicorp/terraform@v0.13.0/helper/plugin/grpc_provider.go:923 +0x8fa
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: github.com/hashicorp/terraform/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x11a0260, 0xc0007a20f8, 0x1515f40, 0xc000aa5320, 0xc0006cc960, 0x0, 0x1515f40, 0xc000aa5320, 0xc000ab2000, 0x50c)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/github.com/hashicorp/terraform@v0.13.0/internal/tfplugin5/tfplugin5.pb.go:3303 +0x217
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000276fc0, 0x1523760, 0xc0002d5680, 0xc000849500, 0xc0001aef30, 0x1d302a0, 0x0, 0x0, 0x0)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/google.golang.org/grpc@v1.31.0/server.go:1180 +0x50a
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: google.golang.org/grpc.(*Server).handleStream(0xc000276fc0, 0x1523760, 0xc0002d5680, 0xc000849500, 0x0)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/google.golang.org/grpc@v1.31.0/server.go:1503 +0xcfd
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0001da3c0, 0xc000276fc0, 0x1523760, 0xc0002d5680, 0xc000849500)
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/google.golang.org/grpc@v1.31.0/server.go:843 +0xa1
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-01-13T10:24:42.139+0100 [DEBUG] plugin.terraform-provider-appoptics:       /home/emil/go/pkg/mod/google.golang.org/grpc@v1.31.0/server.go:841 +0x204
2021-01-13T10:24:42.143+0100 [DEBUG] plugin: plugin process exited: path=/home/emil/.terraform.d/plugins/linux_amd64/terraform-provider-appoptics pid=575980 error="exit status 2"
2021/01/13 10:24:42 [DEBUG] appoptics_alert.rbc_probe_lag_critical: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [DEBUG] appoptics_alert.tms_probe_failed_checks: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [DEBUG] appoptics_alert.tms_probe_lag_critical: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_lag_critical
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [DEBUG] appoptics_alert.rbc_probe_failed_checks: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_lag_critical
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_failed_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_lag_critical
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_failed_checks
2021/01/13 10:24:42 [DEBUG] appoptics_alert.tms_probe_expired_checks: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_expired_checks
2021/01/13 10:24:42 [DEBUG] appoptics_alert.rbc_probe_expired_checks: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [DEBUG] appoptics_alert.tms_probe_lag_warning: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [DEBUG] appoptics_alert.rbc_probe_lag_warning: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_expired_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_lag_warning
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_lag_warning
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_failed_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_failed_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_lag_warning
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_lag_warning
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.rbc_probe_expired_checks is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_expired_checks
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.tms_probe_lag_critical is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.rbc_probe_failed_checks is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.tms_probe_expired_checks is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_lag_critical
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_lag_critical
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.rbc_probe_lag_warning is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_failed_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_failed_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.tms_probe_failed_checks is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_failed_checks
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_failed_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.tms_probe_lag_warning is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.tms_probe_lag_warning
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.tms_probe_lag_warning
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_lag_warning
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_lag_warning
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.rbc_probe_expired_checks
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.rbc_probe_expired_checks": visit complete
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_lag_critical
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.tms_probe_expired_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.tms_probe_expired_checks": visit complete
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.tms_probe_failed_checks
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.tms_probe_failed_checks": visit complete
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.tms_probe_lag_critical
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.tms_probe_lag_critical": visit complete
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.rbc_probe_failed_checks
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.rbc_probe_failed_checks": visit complete
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.tms_probe_lag_warning
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.tms_probe_lag_warning": visit complete
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.rbc_probe_lag_warning
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.rbc_probe_lag_warning": visit complete
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2021/01/13 10:24:42 [TRACE] EvalApplyProvisioners: appoptics_alert.rbc_probe_lag_critical is not freshly-created, so no provisioning is required
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteState
2021/01/13 10:24:42 [TRACE] EvalWriteState: recording 0 dependencies for appoptics_alert.rbc_probe_lag_critical
2021/01/13 10:24:42 [TRACE] EvalWriteState: writing current state object for appoptics_alert.rbc_probe_lag_critical
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalIf
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2021/01/13 10:24:42 [TRACE] <root>: eval: *terraform.EvalApplyPost
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2021/01/13 10:24:42 [TRACE] [walkApply] Exiting eval tree: appoptics_alert.rbc_probe_lag_critical
2021/01/13 10:24:42 [TRACE] vertex "appoptics_alert.rbc_probe_lag_critical": visit complete
2021/01/13 10:24:42 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2021/01/13 10:24:42 [TRACE] dag/walk: upstream of "provider.appoptics (close)" errored, so skipping
2021/01/13 10:24:42 [TRACE] dag/walk: upstream of "root" errored, so skipping
2021-01-13T10:24:42.150+0100 [DEBUG] plugin: plugin exited

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.

SECURITY WARNING: the "crash.log" file that was created may contain 
sensitive information that must be redacted before it is safe to share 
on the issue tracker.

[1]: https://github.com/hashicorp/terraform/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!