From e193d105384442cb6d4ee5529e10ee1ac84b9b76 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Thu, 5 Mar 2020 12:11:16 -0800 Subject: [PATCH 1/3] Auto-update the pre-commit config --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e881236..e6a5496 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,12 +17,12 @@ repos: - id: markdownlint - repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.25.0 + rev: v1.27.0 hooks: - id: terraform_docs - id: terraform_fmt - repo: git://github.com/golangci/golangci-lint - rev: v1.23.6 + rev: v1.23.8 hooks: - id: golangci-lint From 8f686789a548686d0f09c05dee11be86c9b183f7 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Thu, 5 Mar 2020 12:34:42 -0800 Subject: [PATCH 2/3] Show diffs when pre-commit hooks fail in CI --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 50d2808..63244e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: - pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }} - run: name: Run pre-commit tests - command: pre-commit run --all-files + command: pre-commit run --all-files --show-diff-on-failure - save_cache: key: pre-commit-dot-cache-{{ checksum ".pre-commit-config.yaml" }} paths: From efabebecd5ddb59dec19b88760f8318e4bace5de Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Thu, 5 Mar 2020 16:54:14 -0800 Subject: [PATCH 3/3] Document that Cloudfront is supported --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a451ae3..6216081 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Logging from the following services is supported for both cases as well as in AW * [Config](https://aws.amazon.com/config/) * [RedShift](https://aws.amazon.com/redshift/) * [S3](https://aws.amazon.com/s3/) +* [CloudFront](https://aws.amazon.com/cloudfront/) ## Terraform Versions