Skip to content

Commit

Permalink
update terraform letest version and fix github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Dec 29, 2022
1 parent fa952bd commit e918491
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
- name: tflint
uses: reviewdog/action-tflint@master
with:
tflint_version: v0.29.0
github_token: ${{ secrets.GITHUB }}
working_directory: ${{ matrix.directory }}
fail_on_error: 'true'
Expand Down
10 changes: 5 additions & 5 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ usage: |-
```hcl
module "subnets" {
source = "clouddrove/terraform-aws-subnet/aws"
version = "0.15.3"
version = "1.3.0"
name = "subnets"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -61,7 +61,7 @@ usage: |-
```hcl
module "subnets" {
source = "clouddrove/terraform-aws-subnet/aws"
version = "0.15.3"
version = "1.3.0"
name = "subnets"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -79,7 +79,7 @@ usage: |-
```hcl
module "subnets" {
source = "clouddrove/terraform-aws-subnet/aws"
version = "0.15.3"
version = "1.3.0"
name = "subnets"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -98,7 +98,7 @@ usage: |-
```hcl
module "subnets" {
source = "clouddrove/terraform-aws-subnet/aws"
version = "0.15.3"
version = "1.3.0"
name = "subnets"
environment = "test"
label_order = ["name", "environment"]
Expand All @@ -114,7 +114,7 @@ usage: |-
```hcl
module "subnets" {
source = "clouddrove/terraform-aws-subnet/aws"
version = "0.15.3"
version = "1.3.0"
nat_gateway_enabled = true
single_nat_gateway = true
name = "subnets"
Expand Down
4 changes: 2 additions & 2 deletions _example/private-subnet/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "test"
Expand All @@ -27,6 +27,6 @@ module "private-subnets" {
type = "private"
cidr_block = module.vpc.vpc_cidr_block
ipv6_cidr_block = module.vpc.ipv6_cidr_block
public_subnet_ids = ["subnet-XXXXXXXXXXXXX", "subnet-XXXXXXXXXXXXX"]
public_subnet_ids = ["subnet-0d1c389a7398ec769", "subnet-0b1d4daaab87494ee"]
assign_ipv6_address_on_creation = false
}
6 changes: 3 additions & 3 deletions _example/private-subnet/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "example"
Expand Down
6 changes: 3 additions & 3 deletions _example/public-private-subnet-single-nat-gateway/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
2 changes: 1 addition & 1 deletion _example/public-private-subnet/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "test"
Expand Down
5 changes: 5 additions & 0 deletions _example/public-private-subnet/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ output "public_tags" {
value = module.subnets.public_tags
description = "A mapping of tags to assign to the resource."
}

output "public_subnet_id" {
value = module.subnets.private_subnet_id
description = "A mapping of tags to assign to the resource."
}
6 changes: 3 additions & 3 deletions _example/public-private-subnet/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}
2 changes: 1 addition & 1 deletion _example/public-subnet/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.1"
version = "1.3.0"

name = "vpc"
environment = "test"
Expand Down
6 changes: 3 additions & 3 deletions _example/public-subnet/versions.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Terraform version
terraform {
required_version = ">= 0.14.0"
required_version = ">= 1.3.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.1.15"
version = ">= 4.48.0"
}
}
}
}

0 comments on commit e918491

Please sign in to comment.