-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from clouddrove/fix/enable-false
Fix: enable false
- Loading branch information
Showing
8 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
name: tf-checks | ||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [ 1.0.6 ] | ||
pull_request: | ||
workflow_dispatch: | ||
jobs: | ||
tf-checks-basic-example: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6 | ||
with: | ||
working_directory: './_example/basic/' | ||
tf-checks-complete-example: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6 | ||
with: | ||
working_directory: './_example/complete/' | ||
tf-checks-only_rules-example: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6 | ||
with: | ||
working_directory: './_example/only_rules/' | ||
tf-checks-prefx_list-example: | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@master | ||
uses: clouddrove/github-shared-workflows/.github/workflows/tf-checks.yml@1.0.6 | ||
with: | ||
working_directory: './_example/prefix_list/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,6 @@ on: | |
workflow_dispatch: | ||
jobs: | ||
tf-lint: | ||
uses: clouddrove/test-tfsec/.github/workflows/tflint.yaml@master | ||
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected] | ||
secrets: | ||
GITHUB: ${{ secrets.GITHUB }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
output "prefix_list_id" { | ||
value = var.prefix_list_enabled && length(var.prefix_list_ids) < 1 ? aws_ec2_managed_prefix_list.prefix_list[0].id : null | ||
value = var.enable && var.prefix_list_enabled && length(var.prefix_list_ids) < 1 ? aws_ec2_managed_prefix_list.prefix_list[0].id : null | ||
description = "The ID of the prefix list." | ||
} | ||
|
||
output "security_group_id" { | ||
value = var.new_sg ? aws_security_group.default[0].id : null | ||
value = var.new_sg && var.enable ? aws_security_group.default[0].id : null | ||
description = "IDs on the AWS Security Groups associated with the instance." | ||
} | ||
|
||
output "security_group_arn" { | ||
value = var.new_sg ? aws_security_group.default[0].arn : null | ||
value = var.new_sg && var.enable ? aws_security_group.default[0].arn : null | ||
description = "IDs on the AWS Security Groups associated with the instance." | ||
} | ||
|
||
output "security_group_tags" { | ||
value = var.new_sg ? aws_security_group.default[0].tags : null | ||
value = var.new_sg && var.enable ? aws_security_group.default[0].tags : null | ||
description = "A mapping of public tags to assign to the resource." | ||
} |