Skip to content

Commit

Permalink
Bump providers versions and pin versions for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juliocc committed Jun 28, 2022
1 parent 09f86f8 commit 2e4d19b
Show file tree
Hide file tree
Showing 82 changed files with 269 additions and 251 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Pin provider versions
run: |
sed -i 's/>=/=/g' default-versions.tf
find -name versions.tf -exec cp default-versions.tf {} \;
- name: Run tests on documentation examples
id: pytest
run: |
Expand Down Expand Up @@ -76,6 +81,11 @@ jobs:
terraform_version: ${{ env.TF_VERSION }}
terraform_wrapper: false

- name: Pin provider versions
run: |
sed -i 's/>=/=/g' default-versions.tf
find -name versions.tf -exec cp default-versions.tf {} \;
- name: Run tests environments
id: pytest
run: |
Expand Down Expand Up @@ -104,6 +114,11 @@ jobs:
terraform_version: ${{ env.TF_VERSION }}
terraform_wrapper: false

- name: Pin provider versions
run: |
sed -i 's/>=/=/g' default-versions.tf
find -name versions.tf -exec cp default-versions.tf {} \;
- name: Run tests modules
id: pytest
run: |
Expand Down Expand Up @@ -132,6 +147,11 @@ jobs:
terraform_version: ${{ env.TF_VERSION }}
terraform_wrapper: false

- name: Pin provider versions
run: |
sed -i 's/>=/=/g' default-versions.tf
find -name versions.tf -exec cp default-versions.tf {} \;
- name: Run tests on FAST stages
id: pytest
run: |
Expand Down
6 changes: 3 additions & 3 deletions default-versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/cloud-operations/dns-fine-grained-iam/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/cloud-operations/dns-shared-vpc/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/cloud-operations/packer-image-builder/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/cloud-operations/quota-monitoring/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/data-solutions/cmek-via-centralized-kms/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/factories/net-vpc-firewall-yaml/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/foundations/business-units/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/foundations/environments/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/networking/decentralized-firewall/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/networking/filtering-proxy/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/networking/hub-and-spoke-peering/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions examples/networking/hub-and-spoke-vpn/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
# limitations under the License.

terraform {
required_version = ">= 1.1.0"
required_version = "= 1.1.0"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.17.0"
version = ">= 4.20.0"
}
}
}
Expand Down

0 comments on commit 2e4d19b

Please sign in to comment.