Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 6d10bd9

Browse files
initial commit
0 parents  commit 6d10bd9

25 files changed

+652
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# I have issues
2+
3+
## I'm submitting a
4+
5+
* [ ] bug report
6+
* [ ] feature request
7+
* [ ] support request
8+
9+
## What is the current behavior
10+
11+
## If this is a bug, how to reproduce? Please include a code sample
12+
13+
## What's the expected behavior
14+
15+
## Environment
16+
17+
* Affected module version:
18+
* OS:
19+
* Terraform version:
20+
21+
## Other relevant info

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# PR o'clock
2+
3+
## Description
4+
5+
Please explain the changes you made here and link to any relevant issues.
6+
7+
### Checklist
8+
9+
- [ ] `terraform fmt` and `terraform validate` both work from the root and `examples/ebs_optimized_test_fixture` directories (look in CI for an example)
10+
- [ ] Tests for the changes have been added and passing (for bug fixes/features)
11+
- [ ] Test results are pasted in this PR (in lieu of CI)
12+
- [ ] Docs have been added/updated (for bug fixes/features)
13+
- [ ] Any breaking changes are noted in the description above

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.tfvars
2+
*.tfstate*
3+
.terraform/
4+
**/inspec.lock
5+
*.gem
6+
.kitchen/
7+
.kitchen.local.yml
8+
Gemfile.lock
9+
terraform.tfstate.d/

.kitchen.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
driver:
3+
name: terraform
4+
root_module_directory: examples/ebs_optimized_test_fixture
5+
6+
provisioner:
7+
name: terraform
8+
9+
platforms:
10+
- name: aws
11+
12+
verifier:
13+
name: terraform
14+
15+
suites:
16+
-
17+
name: default
18+
verifier:
19+
groups:
20+
-
21+
name: default
22+
attributes:
23+
supported: supported
24+
unsupported: unsupported
25+
unknown_type_result: unknown
26+
ebs_optimized_instance_id: ebs_optimized_instance_id
27+
not_ebs_optimized_instance_id: not_ebs_optimized_instance_id
28+
controls:
29+
- ebs_optimized
30+

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# See http://pre-commit.com for more information
2+
# See http://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: git://github.com/antonbabenko/pre-commit-terraform
5+
rev: v1.7.1
6+
hooks:
7+
- id: terraform_fmt
8+
# - id: terraform_docs
9+
- repo: git://github.com/pre-commit/pre-commit-hooks
10+
rev: v1.2.3
11+
hooks:
12+
- id: check-merge-conflict
13+
- id: trailing-whitespace
14+
# - id: end-of-file-fixer
15+
- id: check-yaml
16+
- id: check-added-large-files

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--color
2+
--format documentation

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.4.2

.travis.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
language: ruby
2+
sudo: required
3+
dist: trusty
4+
5+
services:
6+
- docker
7+
8+
rvm:
9+
- 2.4.2
10+
11+
before_install:
12+
- echo "before_install"
13+
14+
install:
15+
- echo "install"
16+
- gem install bundler --no-rdoc --no-ri
17+
- bundle install
18+
19+
before_script:
20+
- echo 'before_script'
21+
- export AWS_REGION='us-east-1'
22+
- export TF_VAR_region=${AWS_REGION}
23+
- echo "using AWS_REGION=${AWS_REGION}"
24+
- export TF_WARN_OUTPUT_ERRORS=1
25+
- curl --silent --output terraform.zip https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_linux_amd64.zip
26+
- sha256sum terraform.zip | grep "6b8ce67647a59b2a3f70199c304abca0ddec0e49fd060944c26f666298e23418"
27+
- unzip terraform.zip ; rm -f terraform.zip; chmod +x terraform
28+
- mkdir -p ${HOME}/bin ; export PATH=${PATH}:${HOME}/bin; mv terraform ${HOME}/bin/
29+
- terraform -v
30+
31+
script:
32+
- echo 'script'
33+
- terraform init
34+
- terraform fmt -check=true
35+
- terraform validate -var "region=${AWS_REGION}" -var "instance_type=t2.micro"
36+
- docker run --rm -v $(pwd):/app/ --workdir=/app/ -t wata727/tflint --error-with-issues
37+
- cd examples/ebs_optimized_test_fixture
38+
- terraform init
39+
- terraform fmt -check=true
40+
- terraform validate
41+
- cd -
42+
- terraform -v
43+
- bundle exec kitchen test --destroy always
44+
45+
notifications:
46+
email:
47+
recipients:
48+
- brandon@atscale.run
49+
on_success: change
50+
on_failure: change

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
6+
project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [v0.1.0] - 2018-06-08
9+
10+
### Added
11+
12+
- Everything! Initial release of the module.

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at brandon@atscale.run. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)