Skip to content

Commit 9d3a2f4

Browse files
committed
updated versions tf file for examples
1 parent a1564c0 commit 9d3a2f4

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

.github/workflows/terraform.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Verify module
1616
strategy:
1717
matrix:
18-
terraform: [1.1.3, 'latest']
18+
terraform: [1.1.3, "latest"]
1919
runs-on: ubuntu-latest
2020
container:
2121
image: hashicorp/terraform:${{ matrix.terraform }}
@@ -44,8 +44,9 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
terraform: [1.0.11, 1.1.3, 'latest']
48-
example: ["default", "ubuntu", "prebuilt", "arm64", "ephemeral", "windows"]
47+
terraform: [1.0.11, 1.1.3, "latest"]
48+
example:
49+
["default", "ubuntu", "prebuilt", "arm64", "ephemeral", "windows"]
4950
defaults:
5051
run:
5152
working-directory: examples/${{ matrix.example }}
@@ -55,7 +56,7 @@ jobs:
5556
steps:
5657
- uses: actions/checkout@v2
5758
- name: terraform init
58-
run: terraform init -upgrade -get -backend=false -input=false
59+
run: terraform init -get -backend=false -input=false
5960
- if: contains(matrix.terraform, '1.1.')
6061
name: check terraform formatting
6162
run: terraform fmt -recursive -check=true -write=false

examples/arm64/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.27"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

examples/default/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.71"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

examples/ephemeral/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.71"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

examples/prebuilt/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.71"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

examples/ubuntu/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.71"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

examples/windows/versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = ">= 3.71"
5+
version = "~> 4.0"
66
}
77
local = {
88
source = "hashicorp/local"

0 commit comments

Comments
 (0)