autoscaler
autoscaler copied to clipboard
Update from functions to functions2
Summary
The version of cloud functions written in terraform was 1st gen, so I updated it to 2nd gen.
google_cloudfunctions_function->google_cloudfunctions2_function
Why you need this PR
As shown below, the 2nd generation is recommended over the 1st generation in Google Cloud.
We recommend that you choose Cloud Functions (2nd gen) for new functions wherever possible. However, we plan to continue supporting Cloud Functions (1st gen).
https://cloud.google.com/functions/docs/concepts/version-comparison
What I did
The following 2 files have been updated.
autoscalse/terraform/modules/autoscaler-functions/main.tfautoscalse/terraform/modules/forwarder/main.tf
FYI
Already tested with our products.
Can I suggest this go into V3?
@henrybell if you're looking to cut v3 please consider this one
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
/gcbrun
The most recent commit 87a221c is a squash of the existing commits and an update of the commit message so that the breaking change information appears in the changelog
/gcbrun
/gcbrun
/gcbrun
Thanks @a5chin!