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

feat: Add SA token creator binding #37

Merged
merged 4 commits into from
Nov 12, 2020
Merged

feat: Add SA token creator binding #37

merged 4 commits into from
Nov 12, 2020

Conversation

anakovt
Copy link
Contributor

@anakovt anakovt commented Aug 31, 2020

This PR adds iam_mmeber_binding which is required when you use push with oidc_token block.

You must grant Pub/Sub the permissions needed to create tokens for your service account. Pub/Sub creates and maintains a special service account for your project: [email protected]. This service account needs the Service Account Token Creator role. If you use the Cloud Console to set up the subscription for push authentication, the role is granted automatically.

@anakovt
Copy link
Contributor Author

anakovt commented Sep 23, 2020

hashicorp/terraform-provider-google#6833
looks like this issue is related to the PR

@morgante
Copy link
Contributor

morgante commented Oct 8, 2020

@akovtun-extenda Could you please get tests passing as per Contributing Guide.

@anakovt
Copy link
Contributor Author

anakovt commented Nov 12, 2020

@morgante Looks like tests have passed. Can you please take a look?

Copy link
Contributor

@morgante morgante left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@morgante morgante merged commit 112607c into terraform-google-modules:master Nov 12, 2020
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

Successfully merging this pull request may close these issues.

2 participants