3.13 New Relic plugin keeps crashing

I’m trying build an alerting script via terraform for new relic, but i keep getting an error. The supported plugin keeps crashing, I’m on terraform 1.3.7 and new relic 3.13. Here’s there error below:

Then heres the script I am running:

terraform {
 required_version = "~> 1.3.7"
 required_providers{
  newrelic = {
   source  = "newrelic/newrelic"
   version = "~> 3.13"
    }
  }
}

locals{
 splitList = [for url in var.urlList: split(".", url)[1]]
 finishedList = [for split in local.splitList: join("-", [split, "Cert Check"])]
}

resource "newrelic_alert_policy" "certChecks" {
 name = "SSL Cert Check Expirations"
 incident_preference = "PER_POLICY"
}

resource "newrelic_alert_channel" "SSL_Alert" {
 name = "SSL Expiration Alert"
 type = "email"

 config {
  recipients              = "foo.com"
  include_json_attachment = "true"
 }
}

resource "newrelic_synthetics_alert_condition" "foo" {
 policy_id   = newrelic_alert_policy.certChecks.id

 count       = length(var.urlList)
 name        = "SSL Expiration"
 monitor_id  = local.finishedList[count.index]
}

resource "newrelic_synthetics_cert_check_monitor" "monitor"{
 count                  = length(var.urlList)
 name                   = local.finishedList[count.index]
 domain                 = var.urlList[count.index]
 locations_public       = ["US_EAST_1"]
 certificate_expiration = "350"
 period                 = "EVERY_DAY"
 status                 = "ENABLED"
}

Any knowledge would be helpful, thank you! (I am also on a Mac, I don’t know if that matters.)