Skip to content

Commit c55a721

Browse files
committed
move new v4 only variable to a new variables.tf file
1 parent 74d9c25 commit c55a721

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

v4/v4_variables.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
variable "upgrade_override" {
2+
type = object({
3+
force_upgrade_enabled = bool
4+
effective_until = optional(string)
5+
})
6+
default = null
7+
description = <<-EOT
8+
`force_upgrade_enabled` - (Required) Whether to force upgrade the cluster. Possible values are `true` or `false`.
9+
`effective_until` - (Optional) Specifies the duration, in RFC 3339 format (e.g., `2025-10-01T13:00:00Z`), the upgrade_override values are effective. This field must be set for the `upgrade_override` values to take effect. The date-time must be within the next 30 days.
10+
EOT
11+
}

v4/variables_override.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,3 @@ variable "service_mesh_profile" {
221221
`external_ingress_gateway_enabled` - (Optional) Is Istio External Ingress Gateway enabled? Defaults to `true`.
222222
EOT
223223
}
224-
225-
variable "upgrade_override" {
226-
type = object({
227-
force_upgrade_enabled = bool
228-
effective_until = optional(string)
229-
})
230-
default = null
231-
description = <<-EOT
232-
`force_upgrade_enabled` - (Required) Whether to force upgrade the cluster. Possible values are `true` or `false`.
233-
`effective_until` - (Optional) Specifies the duration, in RFC 3339 format (e.g., `2025-10-01T13:00:00Z`), the upgrade_override values are effective. This field must be set for the `upgrade_override` values to take effect. The date-time must be within the next 30 days.
234-
EOT
235-
}

0 commit comments

Comments
 (0)