-
Notifications
You must be signed in to change notification settings - Fork 34
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
chore: Update from functions to functions2 #196
chore: Update from functions to functions2 #196
Conversation
Can I suggest this go into V3? |
@henrybell if you're looking to cut v3 please consider this one |
0e1b33d
to
6d1a731
Compare
/gcbrun |
/gcbrun |
2 similar comments
/gcbrun |
/gcbrun |
c23dc72
to
4875218
Compare
/gcbrun |
4875218
to
d20dfa3
Compare
/gcbrun |
d20dfa3
to
87a221c
Compare
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/gcbrun |
This changes the runtime from Cloud Functions (1st Gen) to Cloud Run Functions (aka Cloud Functions (2nd gen)). BREAKING CHANGE: Use of Cloud Run Functions will require additional APIs to be enabled before redeploying - see the documentation for cloud functions deployment for the command to run. Co-authored-by: Niel Markwick <[email protected]> Co-authored-by: henrybell <[email protected]>
87a221c
to
d8dfe3a
Compare
/gcbrun |
1 similar comment
/gcbrun |
Thanks @a5chin! |
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.
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.tf
autoscalse/terraform/modules/forwarder/main.tf
FYI
Already tested with our products.