-
Notifications
You must be signed in to change notification settings - Fork 674
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
Provisioning of Cloud logs instance fails when cos buckets are attached in parameters #5775
Comments
@maheshwarishikha, Looks like the authorisation policy is not set right.
|
Thanks for the response @kavya498 Actually that was typo when I created a test code, changing it to guid worked for me. But we have auth policy in GoldenEye code scoped to the bucket like this https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances/blob/main/modules/cloud_logs/main.tf#L44 |
@kavya498 , If we changed our auth policy like as below....i.e. scoped to the cos bucket
ICL provisioning fails. It was working all fine few days back. Can you please help to find out whats missing in auth policy?? Or it is happening because of any change in provider code. |
Nopes, recreated everything and it worked this time. Checking in GoldenEye Module now... |
@kavya498 It would be nice if the service could respond with a nicer error message if you know that its an issue related to auth policy. Is that something you plan on improving? |
Issue identified is with the metrics bucket attachment. Cloud logs team is working on this currently - internal issue to track is https://github.ibm.com/Observability/logs-support/issues/223 Regarding the proper error message, it is being tracked by #5729 Regarding the fix related to metrics bucket attachment, we will receive an update via the support ticket. Hence closing this issue. |
Provisioning of ICL fails if COS bucket details are provided in parameters, though all required auth policies are in-place.
Community Note
Terraform CLI and Terraform IBM Provider Version
tf 1.9.2
provider 1.70.0 / 1.71.1
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
Panic Output
Expected Behavior
It should create Cloud logs instance successfully.
Actual Behavior
Provisioning fails.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: