From 47b5fba8f299991246e8166704997772861d12ed Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Mon, 28 Oct 2019 09:44:27 -0400 Subject: [PATCH 1/3] Establishes dependency link between newer config rules and the config recorder --- main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.tf b/main.tf index ee96c2f..f54df6f 100644 --- a/main.tf +++ b/main.tf @@ -567,7 +567,7 @@ resource "aws_config_config_rule" "restricted_common_ports_access" { count = var.create_config_rules && ! local.exclude_restricted_common_ports_access ? 1 : 0 name = "restricted-common-ports-access" - description = "Checks whether security groups that are in use disallow unrestricted incoming TCP traffic to the specified ports." + description = "Checks whether security groups that are in use disallow unrestricted incoming TCP traffic to the specified ports. Config recorder: ${var.config_recorder}" input_parameters = <<-EOF { @@ -591,7 +591,7 @@ resource "aws_config_config_rule" "restricted_common_ports_database" { count = var.create_config_rules && ! local.exclude_restricted_common_ports_database ? 1 : 0 name = "restricted-common-ports-database" - description = "Checks whether security groups that are in use disallow unrestricted incoming TCP traffic to the specified ports." + description = "Checks whether security groups that are in use disallow unrestricted incoming TCP traffic to the specified ports. Config recorder: ${var.config_recorder}" input_parameters = <<-EOF { @@ -618,7 +618,7 @@ resource "aws_config_config_rule" "ebs_snapshot_public_restorable_check" { count = var.create_config_rules && ! local.exclude_ebs_snapshot_public_restorable_check ? 1 : 0 name = "ebs-snapshot-public-restorable-check" - description = "Checks whether Amazon Elastic Block Store (Amazon EBS) snapshots are not publicly restorable. The rule is NON_COMPLIANT if one or more snapshots with RestorableByUserIds field are set to all, that is, Amazon EBS snapshots are public." + description = "Checks whether Amazon Elastic Block Store (Amazon EBS) snapshots are not publicly restorable. The rule is NON_COMPLIANT if one or more snapshots with RestorableByUserIds field are set to all, that is, Amazon EBS snapshots are public. Config recorder: ${var.config_recorder}" input_parameters = "{}" maximum_execution_frequency = "TwentyFour_Hours" From db1b69c5d3af4c267c4ac5ffc8b258558c1f31ef Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Mon, 28 Oct 2019 09:57:15 -0400 Subject: [PATCH 2/3] Updates doc generation command --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 153b43b..43df808 100644 --- a/Makefile +++ b/Makefile @@ -105,7 +105,7 @@ tfdocs-awk/install: ARCHIVE := https://github.com/plus3it/tfdocs-awk/archive/mas tfdocs-awk/install: $(CURL) $(ARCHIVE) | tar -C $(BIN_DIR) --strip-components=1 --wildcards '*.sh' --wildcards '*.awk' -xzvf - -docs/%: README_PARTS := _docs/MAIN.md <(echo) <($(BIN_DIR)/terraform-docs.sh markdown table .) +docs/%: README_PARTS := _docs/MAIN.md <(echo) <($(BIN_DIR)/terraform-docs.sh markdown .) docs/%: README_FILE ?= README.md docs/lint: | guard/program/terraform-docs tfdocs-awk/install From c13fcf9a4f83c67166a50a79b0fc7695072e4d4b Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Mon, 28 Oct 2019 09:44:42 -0400 Subject: [PATCH 3/3] Bumps version to 1.0.3 --- .bumpversion.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e318d2f..647c5f2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.2 +current_version = 1.0.3 commit = True message = Bumps version to {new_version} tag = False