terraform-ibm-modules / terraform-ibm-cos

Configures an IBM Cloud Object Storage instance and bucket
Apache License 2.0
7 stars 23 forks source link

Support creation of resource key with "NONE" role #624

Closed hkantare closed 1 month ago

hkantare commented 1 month ago

This request is from BNPP

We want to create a resource_key with role "None" with Terraform.
This is impossible as role seems to not exist:

[17:01] ABDELKRIM Habib
id: terraform-25711290
2024/05/16 14:50:54 Terraform apply | summary: '[ERROR] Error creating resource key when get role:
2024/05/16 14:50:54 Terraform apply | RoleDoesnotExist: None
2024/05/16 14:50:54 Terraform apply | was not found. Valid roles are Writer, Reader, Manager,
2024/05/16 14:50:54 Terraform apply | Content Reader, Object Reader, Object Writer, Service Configuration Reader, Viewer,
2024/05/16 14:50:54 Terraform apply | Administrator, Operator, Editor, Key Manager'

More details refer : https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5391

They want to extend this support for this module also

shemau commented 1 month ago

I bumped into this being included in 1.66.0 (as expected).

https://github.com/IBM-Cloud/terraform-provider-ibm/commits/v1.66.0/