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

Extend how to upgrade RabbitMQ version #295

Closed tbroden84 closed 3 months ago

tbroden84 commented 3 months ago

WHY are these changes introduced?

Missing the ability to specify the version to upgrade to, when using the cloudamqp_upgrade_rabbitmq resource.

Reference: https://github.com/cloudamqp/terraform-provider-cloudamqp/issues/293.

WHAT is this pull request doing?

Extend the cloudamqp_upgrade_rabbitmq resource to use multiple ways to invoke the upgrade.

HOW can this pull request be tested?

Added new tests with fixtures

tbroden84 commented 3 months ago

Note: new_version argument set to Force new and will be triggered if any new value is detected. Helps when specifying or using the data source to trigger a new upgrade.