Skip to content

feat: add min_instances parameter. #111

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

Closed

Conversation

savioteles
Copy link

This PR adds the min_instances parameter. The limit on the minimum number of fnction instances that may coexist at a given time.

Reference
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions_function#min_instances

…nction instances that may coexist at a given time.
@savioteles savioteles requested a review from a team as a code owner March 18, 2023 13:00
@google-cla
Copy link

google-cla bot commented Mar 18, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@savioteles
Copy link
Author

@bharathkkb can you review? This PR adds the min_instances parameter.

@bharathkkb
Copy link
Member

/gcbrun

Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR and sorry for the delay @savioteles

@@ -85,6 +85,7 @@ module "main" {
service_account_email = var.function_service_account_email
timeout_s = var.function_timeout_s
max_instances = var.function_max_instances
min_instances = var.function_min_instances
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to add support for this in the event-function module first

@github-actions
Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Jul 11, 2023
@github-actions github-actions bot closed this Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants