cormacrelf / terraform-provider-zerotier

Create, modify and destroy ZeroTier networks and members through Terraform.
128 stars 25 forks source link

invalid character #17

Open isakrubin opened 5 years ago

isakrubin commented 5 years ago

Known issue? TF_LOG=debug doesn't really help

`

2019/05/15 20:12:42 [DEBUG] plugin: waiting for all plugin processes to complete... Error: Error applying plan:

1 error(s) occurred:

`

nielsonsantana commented 5 years ago

I'm getting the same error. Zerotier provider version is 0.2.0 Terraform version is v0.11.14


variable "zerotier_token" = {}
variable "zt_cidr" = {
  default = "10.144.0.0/16"
}

provider "zerotier" {
  api_key = "${var.zerotier_token}"
}

resource zerotier_network "MyNetwork2" {
  assignment_pool = {
    cidr = "${var.zt_cidr}"
  }
  name = "MyNetwork2"
  rules_source = "accept;"
}