Reputation: 2605
I have a service account that should only have access to a single instance of Cloud SQL. In GCP, I've been trying to create a role with conditional access to the instance.
The instance name of the DB is test-sandboxy, and I've taken a screenshot of how I'm trying to create the role condition.
Is there a prefix that I need to put on the name? Or is there a directory where I can look up resource names?
Upvotes: 0
Views: 338
Reputation: 75735
In IAM condition you need to put the fully qualified name of your resource. Here
projects/<ProjectNumber>/instances/<InstanceName>
Upvotes: 3