You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource"ibm_database""example" {
name="example-redis"service="databases-for-redis"location="us-east"plan="standard"resource_group_id=ibm_resource_group.default.id# if cpu > 0 it needs to be >= 6members_cpu_allocation_count=2members_memory_allocation_mb=2048members_disk_allocation_mb=2048
}
resource"ibm_resource_group""default" {
name="Default"
}
Ideally it would be great if there were validation against values for creation rather than just updates, but an error message more helpful would help greatly.
Actual Behavior
ibm_database.example: Still creating... [1m0s elapsed]
╷
│ Error: [ERROR] Error creating database instance: Unexpected HTTP status code 502 (502 Bad Gateway) null
│
│
│ with ibm_database.example,
│ on redis.tf line 1, in resource "ibm_database""example":
│ 1:resource"ibm_database""example" {
Steps to Reproduce
terraform apply
Important Factoids
In the example members_cpu_allocation_count cannot be 2, it has to be 0 or 6 (or greater following stepping). I will not test more but I bet the same failures happen when memory/disk have bad values.
References
#0000
The text was updated successfully, but these errors were encountered:
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
https://gist.github.com/maristgeek/5b547c475401a0ec7e52c3a1ec32f391
Panic Output
Expected Behavior
Ideally it would be great if there were validation against values for creation rather than just updates, but an error message more helpful would help greatly.
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
In the example
members_cpu_allocation_count
cannot be 2, it has to be 0 or 6 (or greater following stepping). I will not test more but I bet the same failures happen when memory/disk have bad values.References
The text was updated successfully, but these errors were encountered: