Skip to content
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

Update from functions to functions2 #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a5chin
Copy link

@a5chin a5chin commented Jan 30, 2024

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.tf
  • autoscalse/terraform/modules/forwarder/main.tf

FYI

Already tested with our products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants