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
bug: Oracle: missing defined_tags on oracle_compute_instances resource #17831
Comments
Hi @gianluca-ava, I created a compute instance on our testing account and was able to see Can you confirm those are indeed applied to the resource? Looks like they require specific permissions https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm |
Hi @erezrokah , I know how tags works in OCI, thanks anyway for the info. It's strange because I can see in CloudQuery defined_tags for other type of resources (vcns for example) but not for compute instances...I should definitively check with the IAM team how privs are set on the CloudQuery technical account. Just to know, which version of the plugin are you running on your test env? the last one? |
Thanks for the additional context, I was trying to verify I'm reproducing the issue correctly. If there's additional information you can think of that would allow us to reproduce this locally please let us know. We'll do some more research on the tags, maybe there are some exceptions for compute instances. |
We'll also try to update the Oracle Go SDK, we're using |
Hi @gianluca-ava - We have released If you are still experiencing the issue, Can you try running this command to list the Instances to see if the tags appear as expected. This will help us to narrow down the source of the issue:
|
Hi, I talk with the IAM team. The cloudquery technical user has the following: policy statement:
if I run the command you listed with my personal account I can see the defined_tags. Now I have to run it with the technical account but right now I'm not able to use it interactively. I will be back. |
@bbernays: definitively the issue was related to the policy. Inspect is not enough to read user meta-data. read is need. |
Is there an existing issue for this?
Current Behavior
cloudquery return {} on defined_tags attribute for oracle_compute_instances resource even the defined_tags are defined at source.
Expected Behavior
defined_tags returned as defined in Oracle
CloudQuery (redacted) config
Steps To Reproduce
No response
CloudQuery (redacted) logs
unuseful
CloudQuery version
4.4.0
Additional Context
No response
Pull request (optional)
The text was updated successfully, but these errors were encountered: