-
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
google_cloudfunctions_function
Unable to reference a secret
#9946
Comments
Hi The provider doesn't implement features in Private Preview. Also, the provider doesn't support the new version of Functions yet as it is in Private Preview. Thank you |
As a side note: while the support for this feature is yet to be added to the provider, assuming the other dependencies are met, an interim option to automate this secret manager integration is by wrapping the gcloud command in a gcloud module or as a local-exec step. |
google_cloudfunctions_function
Unable to reference a secret like in the UIgoogle_cloudfunctions_function
Unable to reference a secret
When we can see this feature in the google or google-beta provider? |
Hmm The feature exists in v1 of the API but it isn't undocumented here https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions The command yields a payload that looks like this:
Lets wait a bit for the API docs to be updated. |
the feature has arrived in beta
https://cloud.google.com/sdk/gcloud/reference/beta/functions/deploy |
Any updates on this? |
+1 This is blocking us from adopting Terraform for our cloud functions. Eagerly awaiting support for function secrets in the provider. |
Really need this feature in terraform as we are blocked and can't go in prod. We don't want to do workaround to use this feature. |
This should've rolled out already, can we close this? |
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 doesn't seem to be a way to reference a secret stored in Google's Secret manager when creating a function with the TF resource (available in the UI)
New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: