Skip to content

Commit

Permalink
Merge pull request #10 from plus3it/vendor
Browse files Browse the repository at this point in the history
Add vendored config-rules
  • Loading branch information
confusdcodr authored Sep 4, 2019
2 parents 69385b7 + 6455f2f commit 5f84269
Show file tree
Hide file tree
Showing 299 changed files with 53,534 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[bumpversion]
current_version = 0.0.0
current_version = 0.0.1
commit = True
message = Bumps version to {new_version}
tag = False
tag_name = {new_version}

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### 0.0.1

**Commit Delta**: https://github.com/plus3it/terraform-aws-tardigrade-config-rules/compare/0.0.0...0.0.1

**Released**: 2019.09.04

**Summary**:

* Vendoring community config rules provided by AWS

### 0.0.0

**Commit Delta**: N/A
Expand Down
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CURL ?= curl --fail -sSL
XARGS ?= xargs -I {}
BIN_DIR ?= ${HOME}/bin
TMP ?= /tmp
FIND_EXCLUDES ?= -not \( -name .terraform -prune \) -not \( -name .terragrunt-cache -prune \)
FIND_EXCLUDES ?= -not \( -name .terraform -prune \) -not \( -name .terragrunt-cache -prune \) -not \( -name vendor -prune \)

PATH := $(BIN_DIR):${PATH}

Expand Down Expand Up @@ -121,3 +121,14 @@ terratest/install: | guard/program/go guard/program/dep

terratest/test: | guard/program/go guard/program/dep
cd tests && go test -timeout 20m

clean:
rm -rf vendor

VENDOR ?= vendor/github.com/awslabs/aws-config-rules
vendor: $(VENDOR)
echo "root = true" > vendor/.editorconfig

vendor/%:
git clone https://$(*).git vendor/$*
rm -rf vendor/$*/.git
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Terraform module to setup config rules

## AWS Labs Config Rules
* The community config rules provided by AWS are included in this repository. If the rules are out of date you can regenerate them with the following commands
```Makefile
make clean && make vendor
```

## Inputs

| Name | Description | Type | Default | Required |
Expand Down
6 changes: 6 additions & 0 deletions _docs/MAIN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# terraform-aws-tardigrade-config-rules

Terraform module to setup config rules

## AWS Labs Config Rules
* The community config rules provided by AWS are included in this repository. If the rules are out of date you can regenerate them with the following commands
```Makefile
make clean && make vendor
```
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {
}

locals {
aws_config_rules = "${path.root}/../../vendor/github.com/awslabs/aws-config-rules"
aws_config_rules = "${path.root}/vendor/github.com/awslabs/aws-config-rules"
}

data "aws_partition" "current" {
Expand Down
1 change: 1 addition & 0 deletions vendor/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root = true

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vendor/github.com/awslabs/aws-config-rules/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

121 changes: 121 additions & 0 deletions vendor/github.com/awslabs/aws-config-rules/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions vendor/github.com/awslabs/aws-config-rules/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions vendor/github.com/awslabs/aws-config-rules/java/HOWTO.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions vendor/github.com/awslabs/aws-config-rules/java/RULES_JAVA.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f84269

Please sign in to comment.