cloudamqp / terraform-provider-cloudamqp

Terraform Provider for CloudAMQP
https://registry.terraform.io/providers/cloudamqp/cloudamqp
Mozilla Public License 2.0
35 stars 39 forks source link

Error while creating Datadog logs integration (v1.8.0) #75

Closed robmp closed 3 years ago

robmp commented 4 years ago

When creating the resource:

 resource "cloudamqp_integration_log" "datadog" {
   instance_id = cloudamqp_instance.instance.id
   name        = "datadog"
   region      = "us"
   api_key     = var.datadog_api_key
   tags        = "environment=${var.environment},instance=${cloudamqp_instance.instance.name}"
 }

we got

Error: error setting type for resource 4537: Invalid address to set: []string{"type"}

The integration was created correctly despite the error, but the error is now thrown on all subsequent plans.

robmp commented 4 years ago

Terraform v0.12.29

tbroden84 commented 4 years ago

There is a fix for this in v1.8.1 released here as a customer provider. Have not yet manage to update our official provider with this.

yashbhutwala commented 4 years ago

Hello @tbroden84, I'm also facing this. What is the update on this? Anything I can do to help make progress on it. Thanks!

https://github.com/cloudamqp/terraform-provider-cloudamqp/commit/9d3299dcc0123b5b7da93a82c629b460c18f6688#diff-5e8d5f7262604e93c580b879fb7a684f4afcb3f111115779b7f392f115ba3f18

yashbhutwala commented 4 years ago

When does the difference between this repo and https://github.com/terraform-providers/terraform-provider-cloudamqp get cleared up?

oh I see, relates to https://github.com/terraform-providers/terraform-provider-cloudamqp/issues/2

dentarg commented 3 years ago

I think this has been solved. Let us know if not and we can re-open (or feel free to open a new issue).