Skip to content

Conversation

djakielski
Copy link
Contributor

what

  • add seconds_until_auto_pause in serverlessv2_scaling_configuration

why

  • it's missing in variables

references

@djakielski djakielski requested review from a team as code owners July 28, 2025 21:18
@mergify mergify bot added the triage Needs triage label Jul 28, 2025
Copy link
Contributor

@oycyc oycyc left a comment

Choose a reason for hiding this comment

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

/terratest

@oycyc oycyc added enhancement New feature or request minor New features that do not break anything and removed triage Needs triage labels Jul 29, 2025
@oycyc
Copy link
Contributor

oycyc commented Jul 29, 2025

/terratest

type = object({
min_capacity = number
max_capacity = number
seconds_until_auto_pause = optional(number,0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be null if optional?
0 (zero) is not a valid value.

Image

type = object({
min_capacity = number
max_capacity = number
seconds_until_auto_pause = optional(number,0)
Copy link
Contributor

Choose a reason for hiding this comment

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

See comment above

Suggested change
seconds_until_auto_pause = optional(number,0)
seconds_until_auto_pause = optional(number, null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request minor New features that do not break anything

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants