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

Service accounts are shared between deployments: #27

Open
BryceBeagle opened this issue Apr 3, 2022 · 0 comments · May be fixed by #28
Open

Service accounts are shared between deployments: #27

BryceBeagle opened this issue Apr 3, 2022 · 0 comments · May be fixed by #28
Assignees
Labels
bug Something isn't working

Comments

@BryceBeagle
Copy link
Member

Error: Error creating service account: googleapi: Error 409: Service account terraform-artifact-registry-sa already exists within project projects/shortcake-dev.
│ Details:
│ [
│   ***
│     "@type": "type.googleapis.com/google.rpc.ResourceInfo",
│     "resourceName": "projects/shortcake-dev/serviceAccounts/terraform-artifact-registry-sa@shortcake-dev.iam.gserviceaccount.com"
│   ***
│ ]
│ , alreadyExists
│ 
│   with module.docker_image.google_service_account.artifact_registry_image_sa,
│   on modules/docker_image/main.tf line 21, in resource "google_service_account" "artifact_registry_image_sa":
│   21: resource "google_service_account" "artifact_registry_image_sa" ***
│ 
╵

They should be unique per deployment

@BryceBeagle BryceBeagle added the bug Something isn't working label Apr 3, 2022
@BryceBeagle BryceBeagle self-assigned this Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant