-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittently getting error retrieving authorizationPolicy #4413
Labels
service/IAM
Issues related to IAM
Comments
This issue was seen, this time for an authorzation policy between databases-for-mongodb and kms, requesting service instance to service instance auth. Following PR #4556. |
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-cos
that referenced
this issue
Jun 24, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) (#420)
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-landing-zone
that referenced
this issue
Jun 26, 2023
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-icd-edb
that referenced
this issue
Jun 26, 2023
….0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) (#28)
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-icd-postgresql
that referenced
this issue
Jun 26, 2023
….0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) (#225)
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-client-to-site-vpn
that referenced
this issue
Jun 26, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) (#29)
ocofaigh
added a commit
to terraform-ibm-modules/terraform-ibm-icd-postgresql
that referenced
this issue
Jun 26, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) ([#420](terraform-ibm-modules/terraform-ibm-cos#420)) (#230)
ocofaigh
added a commit
to terraform-ibm-modules/terraform-ibm-icd-edb
that referenced
this issue
Jun 26, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) ([#420](terraform-ibm-modules/terraform-ibm-cos#420)) (#33)
ocofaigh
added a commit
to terraform-ibm-modules/terraform-ibm-event-streams
that referenced
this issue
Jun 26, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) ([#420](terraform-ibm-modules/terraform-ibm-cos#420)) (#40) Co-authored-by: Conall Ó Cofaigh <ocofaigh@ie.ibm.com>
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-icd-mongodb
that referenced
this issue
Jun 27, 2023
… < 2.0.0` to pickup this [fix](IBM-Cloud/terraform-provider-ibm#4413) (#190)
MatthewLemmond
pushed a commit
to terraform-ibm-modules/terraform-ibm-landing-zone
that referenced
this issue
Jul 6, 2023
ocofaigh
pushed a commit
to terraform-ibm-modules/terraform-ibm-landing-zone-vsi
that referenced
this issue
Jul 21, 2023
… to pull in provider fix for [auth policy issue](IBM-Cloud/terraform-provider-ibm#4413) (#490)
MatthewLemmond
pushed a commit
to terraform-ibm-modules/terraform-ibm-landing-zone
that referenced
this issue
Jul 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Intermittently when using
ibm_iam_authorization_policy
to create an auth policy, it fails with 404. I have reproduced with trace logs enabled (attached below)...Here you can see the POST request to create the policy returned a 200:
However the corresponding GET done in the provider code fails with 404:
My guess is that the GET may be getting routed to an IAM database where the policy document has not yet been replicated to, and hence the 404 is seen (just a guess, not proof of this).
Wondering if maybe adding more retires here would help reduce the amount of times this issue occurs?
Community Note
Terraform CLI and Terraform IBM Provider Version
terraform-provider-ibm/1.51.0
Terraform version: 1.3.7
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
trace.log
Panic Output
Expected Behavior
No failure
Actual Behavior
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: