Skip to content

OCP module with set version for provider, module and terraform no longer working #794

@KKooli

Description

@KKooli

Affected modules

terraform-ibm-modules/base-ocp-vpc/ibm v3.38.0

Terraform CLI and Terraform provider versions

  • Terraform version: 1.9.2
  • Provider version: 1.76.1

Terraform output

2025/09/15 11:17:57 Terraform apply | module.ocp_base.null_resource.reset_api_key (local-exec): {"incidentID":"19d6f3f7-ef8a-aec9-ada6-28923a16df99","code":"A03e9b","description":"Failed to create an API key with IAM. Revise your request and try again.","type":"Authentication"}
2025/09/15 11:17:57 Terraform apply |
2025/09/15 11:17:57 Terraform apply | Error: local-exec provisioner error
2025/09/15 11:17:57 Terraform apply |
2025/09/15 11:17:57 Terraform apply | with module.ocp_base.null_resource.reset_api_key,
2025/09/15 11:17:57 Terraform apply | on .terraform/modules/ocp_base/main.tf line 288, in resource "null_resource" "reset_api_key":
2025/09/15 11:17:57 Terraform apply | 288: provisioner "local-exec" {
2025/09/15 11:17:57 Terraform apply |
2025/09/15 11:17:57 Terraform apply | Error running command
2025/09/15 11:17:57 Terraform apply | '.terraform/modules/ocp_base/scripts/reset_iks_api_key.sh eu-fr2
2025/09/15 11:17:57 Terraform apply | 97c6f6a87db64440bbe775d232a269fe false private': exit status 1. Output:
2025/09/15 11:17:57 Terraform apply | ERROR:: FAILED TO RESET THE IAM API KEY
2025/09/15 11:17:57 Terraform apply | HTTP/2 400
2025/09/15 11:17:57 Terraform apply | content-type: application/json; charset=utf-8
2025/09/15 11:17:57 Terraform apply | cross-origin-resource-policy: cross-origin
2025/09/15 11:17:57 Terraform apply | x-carrier: prodfr2-par04-carrier100
2025/09/15 11:17:57 Terraform apply | x-correlation-id: b4d91956-4fa7-457a-bcfa-b94072a69237
2025/09/15 11:17:57 Terraform apply | x-hostname: armada-global-api-587765db-7f65t
2025/09/15 11:17:57 Terraform apply | x-region: eu-fr2
2025/09/15 11:17:57 Terraform apply | x-request-id: 19d6f3f7-ef8a-4ec9-ada6-28923a16df99
2025/09/15 11:17:57 Terraform apply | content-length: 182
2025/09/15 11:17:57 Terraform apply | content-security-policy: default-src 'none'; script-src 'self'
2025/09/15 11:17:57 Terraform apply | 'unsafe-inline' 'unsafe-eval'; connect-src 'self'; img-src 'self' data:;
2025/09/15 11:17:57 Terraform apply | style-src 'self' 'unsafe-inline'; font-src 'self'
2025/09/15 11:17:57 Terraform apply | strict-transport-security: max-age=31536000; includeSubDomains
2025/09/15 11:17:57 Terraform apply | x-content-type-options: nosniff
2025/09/15 11:17:57 Terraform apply | x-frame-options: DENY
2025/09/15 11:17:57 Terraform apply | x-permitted-cross-domain-policies: master-only
2025/09/15 11:17:57 Terraform apply | x-xss-protection: 1; mode=block
2025/09/15 11:17:57 Terraform apply | expires: Mon, 15 Sep 2025 11:17:57 GMT
2025/09/15 11:17:57 Terraform apply | cache-control: max-age=0, no-cache, no-store
2025/09/15 11:17:57 Terraform apply | pragma: no-cache

2025/09/15 11:17:57 Terraform apply | {"incidentID":"19d6f3f7-ef8a-aec9-ada6-28923a16df99","code":"A03e9b","description":"Failed
2025/09/15 11:17:57 Terraform apply | to create an API key with IAM. Revise your request and try
2025/09/15 11:17:57 Terraform apply | again.","type":"Authentication"}
2025/09/15 11:17:57 Terraform

Expected behavior

Create an ocp cluster and configure it
This code have been tested multiple times to create OCPs on the eu-fr2 region

Actual behavior

The code no longer works

Steps to reproduce (including links and screen captures)

  1. Run terraform apply

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions