Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICD Redis Shared with Small Preset #425

Closed
vaseemw opened this issue Sep 17, 2024 · 2 comments
Closed

ICD Redis Shared with Small Preset #425

vaseemw opened this issue Sep 17, 2024 · 2 comments
Assignees

Comments

@vaseemw
Copy link

vaseemw commented Sep 17, 2024

Affected modules

*terraform-ibm-icd-redis

Terraform CLI and Terraform provider versions

  • Terraform version: 1.9.1
  • Provider version: latest

Terraform output

Debug output

Expected behavior

It should be able to create a resource with Small Preset having vCPU 0.5

Actual behavior

Warning: Note: IBM Cloud Databases released new Hosting Models on May 1. All existing multi-tenant instances will have their resources adjusted to Shared Compute allocations during August 2024. To monitor your current resource needs, and learn about how the transition to Shared Compute will impact your instance, see our documentation https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-hosting-models

│ with module.icd-redis["instance1"].ibm_database.redis_database,
│ on .terraform\modules\icd-redis\main.tf line 57, in resource "ibm_database" "redis_database":
│ 57: resource "ibm_database" "redis_database" {



│ Error: Attribute must be a whole number, got 0.5

│ with module.icd-redis["instance1"].ibm_database.redis_database,
│ on .terraform\modules\icd-redis\main.tf line 57, in resource "ibm_database" "redis_database":
│ 57: resource "ibm_database" "redis_database" {

Steps to reproduce (including links and screen captures)

Do try to create icd with small preset size vCPU 0.5

  1. Run terraform apply

Anything else


By submitting this issue, you agree to follow our Code of Conduct

@ocofaigh
Copy link
Member

Potentially a provider issue: IBM-Cloud/terraform-provider-ibm#5680

@iamar7
Copy link
Member

iamar7 commented Sep 27, 2024

As per the response from the provider team, setting CPU to 0 provision a database with a true CPU of 0.5

@iamar7 iamar7 closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants