You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.
Description
Cloud Functions API exposes projects.locations.functions.call method to synchronously invoke a function for testing purposes [1].
Having an ability to do that from inside a Terraform template would significantly raise extensibility of the provider, including an ability to:
deploy some resources before they're supported by the provider
configure some resources in a security context, where temporary credentials are created/stored in Secret Manager, and we'd like to avoid their storage in Terraform state
This would also mirror similar functionality in other providers and systems, e.g. aws_lambda_invocation or AWS::CloudFormation::CustomResource.
Note from triage: Moving out of backlog due to prior art in the AWS provider, but the documentation for this new data source should warn that the Cloud Function shouldn't have side effects. This data source heavily depends on what the CF does.
Community Note
Description
Cloud Functions API exposes
projects.locations.functions.call
method to synchronously invoke a function for testing purposes [1].Having an ability to do that from inside a Terraform template would significantly raise extensibility of the provider, including an ability to:
This would also mirror similar functionality in other providers and systems, e.g.
aws_lambda_invocation
orAWS::CloudFormation::CustomResource
.New or Affected Resource(s)
google_cloudfunctions_function_call
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: