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

Recurring maintenance window #1242

Conversation

chicocvenancio
Copy link
Contributor

This extends #397 to all clusters. Closes #1204

@google-cla
Copy link

google-cla bot commented May 10, 2022

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).

For more information, open the CLA check for this pull request.

@comment-bot-dev
Copy link

Thanks for the PR! 🚀
Unfortunately it looks like some of our CI checks failed. See the Contributing Guide for details.

  • ⚠️check_terraform
    Failed Terraform check. More details below.
Running terraform fmt
Running terraform validate
terraform_validate . 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/acm-terraform-blog-part1/terraform 
Success!
The configuration is valid.
terraform_validate ./examples/acm-terraform-blog-part2/terraform 
Success!
The configuration is valid.
terraform_validate ./examples/acm-terraform-blog-part3/terraform 
Success!
The configuration is valid.
terraform_validate ./examples/deploy_service 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/disable_client_cert 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/node_pool 
Success!
The configuration is valid.
terraform_validate ./examples/node_pool_update_variant 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster-update-variant/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster-update-variant/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/node_pool_update_variant_beta 
Success!
The configuration is valid.
terraform_validate ./examples/node_pool_update_variant_public_beta 
Success!
The configuration is valid.
terraform_validate ./examples/private_zonal_with_networking 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/regional_private_node_pool_oauth_scopes 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/safer_cluster 
Success!
The configuration is valid.
terraform_validate ./examples/safer_cluster_iap_bastion 
Success!
The configuration is valid.
terraform_validate ./examples/shared_vpc 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_autopilot_private 
Success!
The configuration is valid.
terraform_validate ./examples/simple_autopilot_public 
Success!
The configuration is valid.
terraform_validate ./examples/simple_regional 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_regional_beta 
Success!
The configuration is valid.
terraform_validate ./examples/simple_regional_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_regional_private_beta 
Success!
The configuration is valid.
terraform_validate ./examples/simple_regional_with_kubeconfig 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_regional_with_networking 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_zonal_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_zonal_with_acm 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_zonal_with_asm 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_zonal_with_hub 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/simple_zonal_with_hub_kubeconfig 
Success!
The configuration is valid.
terraform_validate ./examples/stub_domains 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/stub_domains_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/stub_domains_upstream_nameservers 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/upstream_nameservers 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/workload_identity 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./examples/workload_metadata_config 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./modules/acm 
Success!
The configuration is valid.
terraform_validate ./modules/asm 
Success!
The configuration is valid.
terraform_validate ./modules/auth 
Success!
The configuration is valid.
terraform_validate ./modules/beta-autopilot-private-cluster 
Success!
The configuration is valid.
terraform_validate ./modules/beta-autopilot-public-cluster 
Success!
The configuration is valid.
terraform_validate ./modules/beta-private-cluster 
Success!
The configuration is valid.
terraform_validate ./modules/beta-private-cluster-update-variant 
Success!
The configuration is valid.
terraform_validate ./modules/beta-public-cluster 
Success!
The configuration is valid.
terraform_validate ./modules/beta-public-cluster-update-variant 
Success!
The configuration is valid.
terraform_validate ./modules/binary-authorization 
Success!
The configuration is valid.
terraform_validate ./modules/fleet-membership 
Success!
The configuration is valid.
terraform_validate ./modules/hub-legacy 
Success!
The configuration is valid.
terraform_validate ./modules/private-cluster 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./modules/private-cluster-update-variant 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./modules/safer-cluster 
Success!
The configuration is valid.
terraform_validate ./modules/safer-cluster-update-variant 
Success!
The configuration is valid.
terraform_validate ./modules/services 
Success!
The configuration is valid.
terraform_validate ./modules/workload-identity 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/beta_cluster 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/deploy_service 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/disable_client_cert 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/node_pool 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/node_pool_update_variant 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster-update-variant/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster-update-variant/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/private_zonal_with_networking 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/safer_cluster 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/safer_cluster_iap_bastion 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/sandbox_enabled 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/simple_autopilot_private 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/simple_autopilot_public 
Success!
The configuration is valid.
terraform_validate ./test/fixtures/simple_regional 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_regional_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_regional_with_kubeconfig 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_regional_with_networking 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_zonal 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_zonal_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/simple_zonal_with_asm 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/stub_domains 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/stub_domains_private 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/stub_domains_upstream_nameservers 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/upstream_nameservers 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/workload_identity 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../main.tf line 146, in locals:
│

146:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/fixtures/workload_metadata_config 
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = 
var.maintenance_recurrence
!= "" && var.maintenance_end_time != "" ? [1] : []
│

│

An input variable with the name "maintenance_recurrence" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_recurrence" {} block.
╵
╷
│

Error: 
Reference to undeclared input variable
│

│

 on ../../../modules/private-cluster/main.tf line 147, in locals:
│

147:   cluster_maintenance_window_is_recurring = var.maintenance_recurrence != "" && 
var.maintenance_end_time
!= "" ? [1] : []
│

│

An input variable with the name "maintenance_end_time" has not been
│

declared. This variable can be declared with a variable
│

"maintenance_end_time" {} block.
╵
terraform_validate ./test/setup 
Success!
The configuration is valid.

X4mp pushed a commit to X4mp/terraform-google-kubernetes-engine that referenced this pull request May 20, 2022
Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>
bharathkkb pushed a commit that referenced this pull request May 31, 2022
* Added code changes from #1242

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Added variable definition for new inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Extended READMEs for new inputs and added documentation

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Autogenerated documentation and variable inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Co-authored-by: Roland Urbano <roland.urbano@datenkraft.com>
Co-authored-by: Andrew Peabody <andrewpeabody@google.com>
bmenasha pushed a commit to bmenasha/terraform-google-kubernetes-engine that referenced this pull request Feb 17, 2023
* Added code changes from terraform-google-modules#1242

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Added variable definition for new inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Extended READMEs for new inputs and added documentation

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Autogenerated documentation and variable inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Co-authored-by: Roland Urbano <roland.urbano@datenkraft.com>
Co-authored-by: Andrew Peabody <andrewpeabody@google.com>
CPL-markus pushed a commit to WALTER-GROUP/terraform-google-kubernetes-engine that referenced this pull request Jul 15, 2024
* Added code changes from terraform-google-modules#1242

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Added variable definition for new inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

* Extended READMEs for new inputs and added documentation

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Autogenerated documentation and variable inputs

Signed-off-by: Roland Urbano <roland.urbano@datenkraft.com>

Co-authored-by: Roland Urbano <roland.urbano@datenkraft.com>
Co-authored-by: Andrew Peabody <andrewpeabody@google.com>
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.

Modify maintenance policy
2 participants