Skip to content

Intermittently reset_iks_api_key is failing in landing zone #893

@ocofaigh

Description

@ocofaigh

Intermittently landing zone is failing with this error (this if from the roks quickstart variation):

 2024/09/29 13:02:42 Terraform apply | Error: local-exec provisioner error
 2024/09/29 13:02:42 Terraform apply | 
 2024/09/29 13:02:42 Terraform apply |   with module.landing_zone.module.landing_zone.module.cluster["landing-d47d-workload-cluster"].null_resource.reset_api_key,
 2024/09/29 13:02:42 Terraform apply |   on .terraform/modules/landing_zone.landing_zone.cluster/main.tf line 285, in resource "null_resource" "reset_api_key":
 2024/09/29 13:02:42 Terraform apply |  285:   provisioner "local-exec" {
 2024/09/29 13:02:42 Terraform apply | 
 2024/09/29 13:02:42 Terraform apply | Error running command
 2024/09/29 13:02:42 Terraform apply | '.terraform/modules/landing_zone.landing_zone.cluster/scripts/reset_iks_api_key.sh
 2024/09/29 13:02:42 Terraform apply | us-south 91af34a8fa5843829b01f1cc97ecc91b false default': exit status 52.
 2024/09/29 13:02:42 Terraform apply | Output: 

Since there is no output, its impossible to know whats failing. At the very least can we ensure an error is output so next time it happens we might get an error loged

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions