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

fix: Add depends_on to Eventarc trigger #224

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

NimJay
Copy link
Contributor

@NimJay NimJay commented Dec 17, 2024

  • Please see Google-internal bug: b/372430497#comment27
  • In that bug, we encountered the following error during terraform destroy:
Error: Error deleting Trigger: operation received error: error code "7", message: 
An internal error occurred.
...
To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher (roles/pubsub.publisher) IAM role in the specified project. 1 
  • I believe it's because the role (roles/pubsub.publisher) on the GCS (Google Cloud Storage) service account
  • The fix is to ensures the Eventarc trigger is deleted before the GCS service account's role (roles/pubsub.publisher).

@github-actions github-actions bot added fix and removed fix labels Dec 17, 2024
@NimJay NimJay marked this pull request as ready for review December 17, 2024 17:39
@NimJay NimJay requested review from davidcavazos and a team as code owners December 17, 2024 17:39
Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant