Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-vpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-vpc
Commits
8967f0d8
Commit
8967f0d8
authored
Jan 23, 2020
by
Eytan Hanig
Committed by
Anton Babenko
Jan 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set minimum terraform version to 0.12.6 (fixes circleci) (#390)
parent
c7a9cfcf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
config.yml
.circleci/config.yml
+4
-7
.pre-commit-config.yaml
.pre-commit-config.yaml
+1
-1
README.md
README.md
+1
-1
versions.tf
versions.tf
+7
-0
No files found.
.circleci/config.yml
View file @
8967f0d8
...
...
@@ -2,19 +2,14 @@ version: 2
terraform
:
&terraform
docker
:
-
image
:
hashicorp/terraform:0.12.
0
-
image
:
hashicorp/terraform:0.12.
6
working_directory
:
/tmp/workspace/terraform
jobs
:
validate
:
<<
:
*terraform
environment
:
AWS_DEFAULT_REGION
:
us-east-1
steps
:
-
checkout
-
run
:
name
:
Install curl
command
:
apk add --update curl
# - run:
# name: Add github.com to ~/.ssh/known_hosts
# command: mkdir ~/.ssh && ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
...
...
@@ -24,12 +19,14 @@ jobs:
-
run
:
name
:
Validate Terraform configurations
command
:
find . -name ".terraform" -prune -o -type f -name "*.tf" -exec dirname {} \;|sort -u | while read m; do (cd "$m" && terraform validate && echo "√ $m") || exit 1 ; done
environment
:
AWS_DEFAULT_REGION
:
us-east-1
-
run
:
name
:
Check if Terraform configurations are properly formatted
command
:
if [[ -n "$(terraform fmt -write=false)" ]]; then echo "Some terraform files need be formatted, run 'terraform fmt' to fix"; exit 1; fi
-
run
:
name
:
Install tflint
command
:
curl -L -o
/tmp/tflint.zip https://github.com/wata727/tflint/releases/download/v0.12.1/tflint_linux_amd64.zip && unzip /tmp/tflint.zip -d /usr/local/bin
command
:
wget -O
/tmp/tflint.zip https://github.com/wata727/tflint/releases/download/v0.12.1/tflint_linux_amd64.zip && unzip /tmp/tflint.zip -d /usr/local/bin
-
run
:
name
:
Check Terraform configurations with tflint
command
:
tflint
...
...
.pre-commit-config.yaml
View file @
8967f0d8
repos
:
-
repo
:
git://github.com/antonbabenko/pre-commit-terraform
rev
:
v1.2
3
.0
rev
:
v1.2
4
.0
hooks
:
-
id
:
terraform_fmt
-
id
:
terraform_docs
...
...
README.md
View file @
8967f0d8
...
...
@@ -214,7 +214,7 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| Name | Version |
|------|---------|
| aws |
n/a
|
| aws |
~> 2.23
|
## Inputs
...
...
versions.tf
0 → 100644
View file @
8967f0d8
terraform
{
required_version
=
"~> 0.12.6"
required_providers
{
aws
=
"~> 2.23"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment