generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Affected modules
*
| resource "restapi_object" "storage_delegation" { |
Terraform CLI and Terraform provider versions
- Terraform version: v1.9.5
- Provider version:
Terraform output
Error: unexpected response code '404': <title>404 - IBM Cloud Pak for Data</title>
404 File not found
The file you requested was not found.
│
│ with module.watsonx_ai.module.storage_delegation[0].restapi_object.storage_delegation,
│ on ../../modules/storage_delegation/main.tf line 68, in resource "restapi_object" "storage_delegation":
│ 68: resource "restapi_object" "storage_delegation" {
Expected behavior
The resource should have updated
Error occurs when a service ID is used to run the script. It works for an Account Owner
- Run
terraform apply
Create Service ID and assign the following Access policies
To fix this issue, Add update_method = "PATCH" to the storage_delegation resource
https://github.com/terraform-ibm-modules/terraform-ibm-watsonx-ai/blob/6f6c2293606[…]2e470b0fffb8ddd4bb3eac98f3da/modules/storage_delegation/main.tf
By submitting this issue, you agree to follow our Code of Conduct