More experimental definition to a separate file, so CICD does not rewrite it with default-versions.tf

This commit is contained in:
Aleksandr Averbukh 2022-07-08 15:19:47 +02:00
parent b8fae0fbf0
commit 9c942a68d6
3 changed files with 20 additions and 6 deletions

View File

@ -0,0 +1,19 @@
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
terraform {
# TODO: Remove once Terraform 1.3 is released https://github.com/hashicorp/terraform/releases/tag/v1.3.0-alpha20220622
experiments = [module_variable_optional_attrs]
}

View File

@ -14,10 +14,6 @@
terraform {
required_version = ">= 1.1.0"
# TODO: Remove once Terraform 1.3 is released https://github.com/hashicorp/terraform/releases/tag/v1.3.0-alpha20220622
experiments = [module_variable_optional_attrs]
required_providers {
google = {
source = "hashicorp/google"

View File

@ -13,7 +13,6 @@
# limitations under the License.
terraform {
required_version = ">= 1.1.0"
# TODO: Remove once Terraform 1.3 is released https://github.com/hashicorp/terraform/releases/tag/v1.3.0-alpha20220622
experiments = [module_variable_optional_attrs]
}