You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform IBM Provider Version
Terraform Version v1.5.7
Terraform IBM Provider Version v1.60.0
Affected Resource(s)
ibm_container_vpc_cluster
Terraform Configuration Files
While deploying roks cluster in a fresh enterprise sub account with all the necessary permissions, getting a below error
Error: Request failed with status code: 401, ServerErrorResponse: {"incidentID":"2a173666-bfa3-4a34-8c33-e66c9b717917","code":"E09c0","description":"Not authorized to access the Key Management Service. Create an IBM Cloud IAM authorization policy to give the source Kubernetes Service delegate access to the target Key Management Service, and try again.","type":"Authentication"}
Looks like an auth policy is missing/not getting created for kube->kms which I think can be seen in TF trace logs as well-
maybeTainted:module.roks_landing_zone.module.landing_zone.ibm_container_vpc_cluster.cluster["policy-management-cluster"] encountered an error during creation, so it is now marked as tainted
And as per the docs the auth policy should get created automaticlly if not present, which is happening successfully when the cluster is deplyed via UI.
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
# Copy-paste your Terraform configurations here - for large Terraform configs,# please share a link to the ZIP file.
Community Note
Terraform CLI and Terraform IBM Provider Version
Terraform Version v1.5.7
Terraform IBM Provider Version v1.60.0
Affected Resource(s)
Terraform Configuration Files
While deploying roks cluster in a fresh enterprise sub account with all the necessary permissions, getting a below error
Looks like an auth policy is missing/not getting created for kube->kms which I think can be seen in TF trace logs as well-
And as per the docs the auth policy should get created automaticlly if not present, which is happening successfully when the cluster is deplyed via UI.
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
TF_Apply_stdout_logs-
stdout_landing-zone-roks_TFA_15.12.2023-20.09.36.log
Also added the TF trace logs snippets (as the file size is more than 69 MB, so unable to upload) for each failure incident ID - trace_59a47c55-2f5b-40d1-ac45-6114e9c58af5.log and trace_caf9535c-0310-4dc0-918b-18164643a306.log
trace_caf9535c-0310-4dc0-918b-18164643a306.log
trace_59a47c55-2f5b-40d1-ac45-6114e9c58af5.log
Panic Output
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: