terraform-provider-ibm icon indicating copy to clipboard operation
terraform-provider-ibm copied to clipboard

Message Queue on Cloud not supported on terraform

Open shemau opened this issue 10 months ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Affected Resource(s)

  • ibm_mqcloud_queue_manager
  • ibm_mqcloud_application
  • ibm_mqcloud_user

There appear to be three plans available for service mqcloud, lite, default or custom.

Observation is that none of these three plans are supported and that Reserved Deployment Plan (note: camel case and spaces) is the only valid value. All three attempted and all three resulted in errors.

Terraform Configuration Files

The examples in the documentation do not work

Debug Output


│ Error: Create Application failed [ERROR] Terraform is only supported for Reserved Deployment Plan. Your Service Plan is: default for the instance 0d087168-881f-408d-8834-8e9f7b55a71f
│ 
│   with module.mq_on_cloud.module.application["my-app"].ibm_mqcloud_application.mqcloud_application,
│   on ../../modules/application/main.tf line 7, in resource "ibm_mqcloud_application" "mqcloud_application":
│    7: resource "ibm_mqcloud_application" "mqcloud_application" {
│ 
╵
╷
│ Error: Create Queue Manager failed [ERROR] Terraform is only supported for Reserved Deployment Plan. Your Service Plan is: default for the instance 0d087168-881f-408d-8834-8e9f7b55a71f
│ 
│   with module.mq_on_cloud.module.queue_manager.ibm_mqcloud_queue_manager.mqcloud_queue_manager,
│   on ../../modules/queue-manager/main.tf line 7, in resource "ibm_mqcloud_queue_manager" "mqcloud_queue_manager":
│    7: resource "ibm_mqcloud_queue_manager" "mqcloud_queue_manager" {
│ 
╵
╷
│ Error: Create User failed [ERROR] Terraform is only supported for Reserved Deployment Plan. Your Service Plan is: default for the instance 0d087168-881f-408d-8834-8e9f7b55a71f
│ 
│   with module.mq_on_cloud.module.user["my-user"].ibm_mqcloud_user.user,
│   on ../../modules/user/main.tf line 7, in resource "ibm_mqcloud_user" "user":
│    7: resource "ibm_mqcloud_user" "user" {
│ 

Expected Behavior

These three resources are basic starters. It is reasonable to expect that they all work on all plans.

Actual Behavior

All of them fail on all plans

Steps to Reproduce

  1. terraform apply
  2. Respond yes

Important Factoids

There are restrictions on locations. Errors detected in us-south and eu-gb. eu-de and for some plans us-east are supported. Service instance creation is documented in the queue manager docs.

References

  • #0000

shemau avatar May 01 '24 18:05 shemau