-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support non default service accounts for AppEngine Flex #11813
Support non default service accounts for AppEngine Flex #11813
Comments
I opened the same issue: #11596 In addition, as you can see: https://cloud.google.com/appengine/docs/flexible/nodejs/user-managed-service-accounts user managed service has moved from preview to stable version in 2022-06-06 |
Hi all! I had a look into this and it looks like you can only set a non-default service account via the gcloud CLI (as linked above in this PR), and the API doesn't have the ability to set non-default service accounts yet - REST API reference here. What we can manage in the provider is limited by what is exposed by the API. Do either of you have a workaround for this issue? I saw that the service account can be specified in app.yaml - does this help? |
Hey Sarah, |
Just to follow this up - I went back to look at the API documentation and it appears that the page was updated on 2022-07-27 and now lists serviceAccount as something that can be set via the API 🎉 |
@rileykarson Could you please add it to the backlog? I'm sure it will help a lot of people. |
@SarahFrench i opened a PR to fix this GoogleCloudPlatform/magic-modules#6391. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Currently there is no field for providing user managed/non default service account in https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/app_engine_flexible_app_version.
Would be great if we can add support for non default service account like https://cloud.google.com/sdk/gcloud/reference/app/deploy#--service-account. This is blocking our development.
New or Affected Resource(s)
Potential Terraform Configuration
want terraform configuration to contain an optional service_account attribute, with default as default appengine service account.
References
The text was updated successfully, but these errors were encountered: