cloudamqp / terraform-provider-cloudamqp

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

Fix: Incorrect schemas in plugin data sources #300

Closed tbroden84 closed 4 weeks ago

tbroden84 commented 4 weeks ago

WHY are these changes introduced?

Reported issue: https://github.com/cloudamqp/terraform-provider-cloudamqp/issues/299 when using plugin data sources. Both data sources panics with: interface conversion: interface {} is nil, not int.

Sleep and timeouts were added wrongly into respective schema: https://github.com/cloudamqp/terraform-provider-cloudamqp/pull/241

WHAT is this pull request doing?

HOW can this pull request be tested?

Run VCR tests.