Skip to content

Commit

Permalink
Merge pull request #38 from clouddrove/cd-275
Browse files Browse the repository at this point in the history
update terraform letest version
  • Loading branch information
Om Sharma committed Dec 28, 2022
2 parents 10e069c + 67bcbb9 commit 7a86b5d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,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
2 changes: 1 addition & 1 deletion README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ usage: |-
```hcl
module "vpc" {
source = "clouddrove/vpc/aws"
version = "0.15.0"
version = "1.3.0"
name = "vpc"
environment = "test"
label_order = ["name", "environment"]
Expand Down
4 changes: 2 additions & 2 deletions _example/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ output "id" {
}

output "tags" {
value = module.vpc.tags
value = module.vpc.*.tags
description = "A mapping of tags to assign to the resource."
}
}
4 changes: 2 additions & 2 deletions _example/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"
}
}
}
10 changes: 10 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ output "igw_id" {
value = join("", aws_internet_gateway.default.*.id)
description = "The ID of the Internet Gateway."
}

output "enable_classiclink" {
value = join("", aws_vpc.default.*.enable_classiclink)
description = "Whether or not the VPC has Classiclink enabled"
}

output "arn" {
value = join("", aws_flow_log.vpc_flow_log.*.arn)
description = "Amazon Resource Name (ARN) of VPC"
}

0 comments on commit 7a86b5d

Please sign in to comment.