Icinga / terraform-provider-icinga2

Terraform Icinga2 provider
https://www.terraform.io/docs/providers/icinga2/
Mozilla Public License 2.0
21 stars 20 forks source link

Incompatible with terraform 0.12 #31

Closed wegerhoff closed 5 years ago

wegerhoff commented 5 years ago

Terraform Version

0.12.1

Affected Resource(s)

provider icinga2

Terraform Configuration Files

provider "icinga2" {
  api_url                  = "https://<foobar>:5665/v1"
  api_user                 = "<username>"
  api_password             = "<password>"

  version = "0.2.0"
}

Debug Output

Error: failed to load provider "icinga2": Incompatible API version with plugin. Plugin version: 4, Client versions: [5]

Expected Behavior

"terraform apply" and "terraform 0.12upgrade" succeed

Actual Behavior

"terraform apply" and "terraform 0.12upgrade" fail when using terraform 0.12.1

Steps to Reproduce

  1. Install terraform 0.12.1
  2. terraform init
  3. terraform apply

References

https://www.terraform.io/docs/extend/terraform-0.12-compatibility.html

lazzurs commented 5 years ago

Added pull request #32 which should fix this.

lazzurs commented 5 years ago

This issue should be closed.