Skip to content
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

Grant permission to the Data Catalog SA fails. #50

Open
swainjo opened this issue Sep 25, 2023 · 0 comments
Open

Grant permission to the Data Catalog SA fails. #50

swainjo opened this issue Sep 25, 2023 · 0 comments
Assignees

Comments

@swainjo
Copy link
Collaborator

swainjo commented Sep 25, 2023

ERROR: (gcloud.projects.add-iam-policy-binding) INVALID_ARGUMENT: Service account [email protected] does not exist.

Following command fails due to dlp service account not created.

grant be to Data Catalog SA as indicated in the comment?

Enable service:
gcloud services enable datacatalog.googleapis.com

gcloud projects add-iam-policy-binding ${PROJECT_ID} \ --member=serviceAccount:service-${PROJECT_NUMBER_GOV}@gcp-sa-datacatalog-api.iam.gserviceaccount.com \ --role=roles/bigquery.admin

@swainjo swainjo self-assigned this Sep 25, 2023
@swainjo swainjo added this to the Stable functional release. milestone Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant