Skip to content

Storage delegation error with Service ID #114

@YasserSheriff

Description

@YasserSheriff

Affected modules

*

resource "restapi_object" "storage_delegation" {

Terraform CLI and Terraform provider versions

  • Terraform version: v1.9.5
  • Provider version:

Terraform output

log.txt

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

  1. Run terraform apply

Create Service ID and assign the following Access policies

Image

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions