Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Upgraded Module to latest Release of AWS repo #4

Merged
merged 308 commits into from
Nov 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
d4212d6
Fixed formatting
antonbabenko Apr 25, 2019
c2734e4
Updated CHANGELOG
antonbabenko Apr 25, 2019
215217f
Add Output Of Subnet ARNs (#242)
blaines Apr 25, 2019
9fe9cb6
Fixed formatting
antonbabenko Apr 25, 2019
8c238b8
Updated CHANGELOG
antonbabenko Apr 25, 2019
661d211
Improving DHCP options docs (#260)
andreaswittig May 21, 2019
c1395dd
Updated CHANGELOG
antonbabenko May 21, 2019
03e8c62
ECS endpoint (#261)
DrFaust92 May 24, 2019
8ab27d0
Added VPC endpoints for SQS (closes #248)
antonbabenko May 24, 2019
3d33b1f
Updated CHANGELOG
antonbabenko May 24, 2019
4ae9806
Finally, Terraform 0.12 support (#266)
antonbabenko May 24, 2019
0588b34
Fixed merge conflicts
antonbabenko May 24, 2019
2c28de5
Updated CHANGELOG
antonbabenko May 24, 2019
7192ee6
Upgrade Docker Image to fix CI (#270)
Skaronator May 27, 2019
158b7d7
Added VPC Endpoints for SNS, Cloudtrail, ELB, Cloudwatch (#269)
DrFaust92 May 27, 2019
615fb5c
Updated CHANGELOG
antonbabenko May 27, 2019
1a5a5a5
Updated Terraform versions in README
antonbabenko May 28, 2019
c28b5af
Updated CHANGELOG
antonbabenko May 28, 2019
b253c94
Fixed opportunity to create the vpc, vpn gateway routes (bug during u…
antonbabenko Jun 4, 2019
06e5920
Updated CHANGELOG
antonbabenko Jun 4, 2019
1908139
Fixed broken 2.3.0
antonbabenko Jun 5, 2019
458d5ec
Updated CHANGELOG
antonbabenko Jun 5, 2019
de1fda1
Updated CHANGELOG
antonbabenko Jun 5, 2019
5b3e48d
Update tflint to 0.8.2 for circleci task (#280)
DrFaust92 Jun 6, 2019
ef915dc
Updated VPC endpoint example (fixed #249)
antonbabenko Jun 13, 2019
d72689b
Updated CHANGELOG
antonbabenko Jun 13, 2019
99b5eb8
Updated pre-commit-terraform to support terraform-docs and Terraform …
antonbabenko Jun 17, 2019
31de3d0
Updated CHANGELOG
antonbabenko Jun 17, 2019
1d5f04c
Updated version of pre-commit-terraform
antonbabenko Jun 18, 2019
0f3d57f
adding secrets manager vpc end point support
ck3mp3r Jul 15, 2019
7c4ddd6
adding config vpc end point support
ck3mp3r Jul 15, 2019
98bc929
adding codebuild, codecommit and git-codecommit vpc end point support
ck3mp3r Jul 15, 2019
4e31800
adding transfer server vpc end point support
ck3mp3r Jul 15, 2019
16d5f0e
Added Kinesis streams and firehose VPC endpoints (#301)
wardviaene Jul 21, 2019
34d17b3
Additional VPC Endpoints (#302)
antonbabenko Jul 21, 2019
f913987
Fixed README after merge
antonbabenko Jul 21, 2019
979f591
Updated CHANGELOG
antonbabenko Jul 21, 2019
17db88d
Output var.name (#303)
hootieben Jul 21, 2019
7f4f911
Fixed README after merge
antonbabenko Jul 21, 2019
40821bb
Updated CHANGELOG
antonbabenko Jul 21, 2019
be962ae
Add IPv6 support (#317)
antonbabenko Sep 2, 2019
013b7ab
Updated CHANGELOG
antonbabenko Sep 2, 2019
2fbaaac
Added more VPC endpoints (Glue, STS, Sagemaker Notebook), and all mis…
wardviaene Sep 2, 2019
b38034a
Updated CHANGELOG
antonbabenko Sep 2, 2019
3c7a103
Added tags to VPC Endpoints (#292)
DrFaust92 Sep 2, 2019
fa1eb90
Updated CHANGELOG
antonbabenko Sep 2, 2019
7bf8360
Added support for ICMP rules in Network ACL (#286)
t11n Sep 3, 2019
c0f5674
Updated CHANGELOG
antonbabenko Sep 3, 2019
32d1aa1
Added support for EC2 ClassicLink (#322)
antonbabenko Sep 3, 2019
ee192c5
Updated CHANGELOG
antonbabenko Sep 3, 2019
de3d4e1
Add VPC endpoints for CloudFormation, CodePipeline, Storage Gateway, …
DrFaust92 Sep 3, 2019
c73f43b
Updated CHANGELOG
antonbabenko Sep 3, 2019
2741fe9
Added VPC Endpoints for AppStream, Athena & Rekognition (#335)
DrFaust92 Sep 30, 2019
4a91495
Updated CHANGELOG
antonbabenko Sep 30, 2019
ec228e0
Added support for `ipv6_cidr_block` in network acls (#329)
baszoetekouw Sep 30, 2019
c25a58e
Updated network-acls example with IPv6 rules
antonbabenko Sep 30, 2019
417a3c9
Updated CHANGELOG
antonbabenko Sep 30, 2019
3514a0c
Fixed spelling mistakes
antonbabenko Nov 4, 2019
7a99e44
Updated CHANGELOG
antonbabenko Nov 4, 2019
ec49d43
Add Elastic File System & Cloud Directory VPC Endpoints (#355)
DrFaust92 Nov 27, 2019
22ffae5
Updated CHANGELOG
antonbabenko Nov 27, 2019
bd51e9f
Update TFLint to v0.12.1 for circleci (#351)
DrFaust92 Nov 27, 2019
5bd21bd
Added Customer Gateway resource (#360)
antonbabenko Nov 27, 2019
4ef2e7f
Updated CHANGELOG
antonbabenko Nov 27, 2019
3b87102
fix ipv6 enable (#340)
lifeofguenter Nov 27, 2019
b76606e
Updated CHANGELOG
antonbabenko Nov 27, 2019
dc38a40
Added note about Transit Gateway integration (#386)
antonbabenko Jan 16, 2020
4a173b4
Updated CHANGELOG
antonbabenko Jan 16, 2020
191e489
Updated pre-commit-terraform with terraform-docs 0.8.0 support (#388)
antonbabenko Jan 21, 2020
c7a9cfc
Updated CHANGELOG
antonbabenko Jan 21, 2020
8967f0d
Set minimum terraform version to 0.12.6 (fixes circleci) (#390)
eytanhanig Jan 23, 2020
080faed
Updated CHANGELOG
antonbabenko Jan 23, 2020
ea57794
Added support for both types of values in azs (names and ids) (#370)
DrFaust92 Mar 2, 2020
3b86370
Updated CHANGELOG
antonbabenko Mar 2, 2020
b11d667
Add VPC Flow Logs capabilities (#316)
miguelaferreira Mar 11, 2020
de11253
Updated CHANGELOG
antonbabenko Mar 11, 2020
8554bfd
Fixed output of aws_flow_log
antonbabenko Mar 11, 2020
ee9271e
Updated CHANGELOG
antonbabenko Mar 11, 2020
dea4664
Add support for specifying AZ in VPN Gateway (#401)
DrFaust92 Mar 11, 2020
3aec703
Updated CHANGELOG
antonbabenko Mar 11, 2020
7bf4696
Added tagging for VPC Flow Logs (#407)
DrFaust92 Mar 13, 2020
c69a66e
Updated CHANGELOG
antonbabenko Mar 13, 2020
b60846d
[ci skip] Create "LICENSE".
betajobot Mar 18, 2020
b76ceeb
[ci skip] Create ".pre-commit-config.yaml".
betajobot Mar 18, 2020
8b0991a
[ci skip] Create "Makefile".
betajobot Mar 18, 2020
a66a1e0
[ci skip] Create ".gitignore".
betajobot Mar 18, 2020
e02c574
Merge pull request #410 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
bd3e0a2
Merge pull request #412 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
21dfd64
Merge pull request #411 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
125727f
Merge pull request #409 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
7beac7f
[ci skip] Create ".editorconfig".
betajobot Mar 18, 2020
1f1b6f8
Merge pull request #414 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
e17cb98
[ci skip] Create ".chglog/CHANGELOG.tpl.md".
betajobot Mar 19, 2020
ee5bab9
Merge pull request #416 from terraform-aws-modules/terraform-provider…
betajobot Mar 19, 2020
67a4c55
Updated CHANGELOG
antonbabenko Mar 19, 2020
2672219
chore: Add badge for latest version number (#384)
christoph-buente Mar 20, 2020
88d2c3c
Updated CHANGELOG
antonbabenko Mar 20, 2020
81f60d3
feat: Add intra subnet VPN route propagation (#421)
DrFaust92 Mar 24, 2020
d9e7a6f
Updated CHANGELOG
antonbabenko Mar 24, 2020
7302302
docs: Document create_database_subnet_group requiring database_subnet…
acdha Apr 2, 2020
e82814f
feat: Add EC2 Auto Scaling VPC endpoint (#374)
pserrano Apr 2, 2020
707e8fb
docs: Updated required versions of Terraform
antonbabenko Apr 2, 2020
23b0a02
Updated CHANGELOG
antonbabenko Apr 2, 2020
45e8a56
added owner_id output (#1)
vmalinics0 Apr 8, 2020
b42905b
fix: Updated outputs in ipv6 example (#375)
allan-simon May 8, 2020
48ff6e6
feat: Add routes table association and route attachment outputs (#398)
quentin9696 May 25, 2020
064d577
Updated CHANGELOG
antonbabenko May 25, 2020
6b93437
feat: Add VPC Endpoint for SES (#449)
May 25, 2020
86adc42
Updated CHANGELOG
antonbabenko May 25, 2020
1e030af
feat: Added support for more VPC endpoints (#369)
DrFaust92 May 25, 2020
2ea46b3
Updated CHANGELOG
antonbabenko May 25, 2020
ad0b9a3
fix: Fix wrong ACM PCA output (#450)
DrFaust92 May 25, 2020
32f3caf
Updated CHANGELOG
antonbabenko May 25, 2020
9071824
Updated description of vpc_owner_id
antonbabenko May 25, 2020
182bfc4
Merge branch 'master' into master
antonbabenko May 25, 2020
5dff453
docs: Fixed README
antonbabenko May 25, 2020
61b499a
feat: add vpc_owner_id to outputs (#428)
antonbabenko May 25, 2020
26bb020
Updated CHANGELOG
antonbabenko May 25, 2020
ff6c0c5
feat: Enable support for Terraform 0.13 as a valid version by setting…
bryantbiggs Jun 6, 2020
639fe65
Updated CHANGELOG
antonbabenko Jun 6, 2020
fd98462
feat: Add support for tagging egress only internet gateway (#430)
DrFaust92 Jun 20, 2020
36832ff
feat: Add support for VPC flow log max_aggregation_interval (#431)
DrFaust92 Jun 20, 2020
8f6fd89
Updated pre-commit hooks
antonbabenko Jun 20, 2020
c09d65d
Updated CHANGELOG
antonbabenko Jun 20, 2020
7b7e08d
fix: Output list of external_nat_ips when using external eips (#432)
DrFaust92 Jun 20, 2020
2ec2697
Updated CHANGELOG
antonbabenko Jun 20, 2020
24dba80
fix: Reorder tags to allow overriding Name tag in route tables (#458)
DrFaust92 Jun 20, 2020
b062031
Updated CHANGELOG
antonbabenko Jun 20, 2020
2580c9e
feat: add support for disabling IGW for public subnets (#457)
DrFaust92 Jun 20, 2020
64cdab0
Updated CHANGELOG
antonbabenko Jun 20, 2020
d271a8c
feat: manage default security group (#382)
bryantbiggs Jun 21, 2020
01e56d9
Updated CHANGELOG
antonbabenko Jun 21, 2020
75a1888
docs: Fix typo in nat_public_ips (#460)
Porkepix Jun 29, 2020
28c8ccc
fix: bumping terraform version from 0.12.6 to 0.12.7 in circleci to i…
jonaskint Aug 13, 2020
b57ad10
feat: bump version of aws provider version to support 3.* (#479)
michalschott Aug 13, 2020
263b09a
Updated CHANGELOG
antonbabenko Aug 13, 2020
87c6e3b
fix: InvalidServiceName for elasticbeanstalk_health (#484)
Xaaris Aug 13, 2020
bbf935e
Updated CHANGELOG
antonbabenko Aug 13, 2020
ec5a0d2
feat: add arn outputs for: igw, cgw, vgw, default vpc, acls (#471)
DrFaust92 Aug 13, 2020
83bed06
Updated CHANGELOG
antonbabenko Aug 13, 2020
cb185fc
fix: Use database route table instead of private route table for NAT …
bmickunas Aug 17, 2020
a51ad01
Updated CHANGELOG
antonbabenko Aug 17, 2020
02ae641
feat: Add ability to create RDS endpoint to VPC (#499)
hche608 Sep 11, 2020
b336961
Updated CHANGELOG
antonbabenko Sep 11, 2020
5326d93
feat: Add ability to create CodeDeploy endpoint to VPC (#501)
zahorniak Sep 11, 2020
5c60272
Updated CHANGELOG
antonbabenko Sep 11, 2020
6b765ba
feat: add enable_public_s3_endpoint variable for S3 VPC Endpoint for …
DrFaust92 Sep 15, 2020
0c2e8e0
Updated CHANGELOG
antonbabenko Sep 15, 2020
68ec4f8
feat: Added tflint as pre-commit hook (#507)
antonbabenko Sep 22, 2020
79d9fea
Updated CHANGELOG
antonbabenko Sep 22, 2020
6c4268c
feat: Add support for security groups ids in default sg's rules (#491)
y-batsianouski Sep 23, 2020
4d50607
Updated CHANGELOG
antonbabenko Sep 23, 2020
b874b38
fix: Split appstream to appstream_api and appstream_streaming (#508)
hche608 Sep 23, 2020
ca187c4
Updated CHANGELOG
antonbabenko Sep 23, 2020
25b8ae2
feat: Added Textract vpc endpoint (#509)
pserrano Sep 28, 2020
02c4de8
docs: Updated docs with pre-commit
antonbabenko Sep 28, 2020
30df090
Updated CHANGELOG
antonbabenko Sep 28, 2020
712e1f9
fix: Create only required number of NAT gateways (#492)
y-batsianouski Oct 6, 2020
310ab7e
Updated CHANGELOG
antonbabenko Oct 6, 2020
bda5f75
revert: Create only required number of NAT gateways (#492) (#517)
antonbabenko Oct 6, 2020
f1e4541
Updated CHANGELOG
antonbabenko Oct 6, 2020
20dc2c8
feat: Added support for Terraform 0.14 (#525)
antonbabenko Oct 16, 2020
e3b0665
Updated CHANGELOG
antonbabenko Oct 16, 2020
a18d9bb
fix: Removed ignore_changes to work with Terraform 0.14 (#526)
antonbabenko Oct 19, 2020
2179d20
Updated CHANGELOG
antonbabenko Oct 19, 2020
8634bcd
fix: Resource aws_default_network_acl orphaned subnet_ids (#530)
jeremyciak Oct 21, 2020
70437f0
Updated CHANGELOG
antonbabenko Oct 21, 2020
592540e
Fixed circleci configs
antonbabenko Oct 22, 2020
8664079
fix: Updated min required version of Terraform to 0.12.21 (#532)
antonbabenko Oct 22, 2020
22f2097
Updated CHANGELOG
antonbabenko Oct 22, 2020
366d459
feat: Added Codeartifact API/Repo vpc endpoints (#515)
pserrano Oct 22, 2020
6f6e8a0
Updated README
antonbabenko Oct 22, 2020
e320ada
Updated CHANGELOG
antonbabenko Oct 22, 2020
cacc2b0
feat: Lambda VPC Endpoint (#534)
aiell0 Oct 26, 2020
7cb2466
Updated CHANGELOG
antonbabenko Oct 26, 2020
161274b
docs: Updated README and pre-commit (#537)
antonbabenko Nov 4, 2020
af51566
Updated CHANGELOG
antonbabenko Nov 4, 2020
088f30d
feat: Adding vpc_flow_log_permissions_boundary (#536)
kelseymok Jan 14, 2021
7534556
Updated CHANGELOG
antonbabenko Jan 14, 2021
599cbe8
docs: Clarifies default_vpc attributes (#552)
Gurulhu Jan 14, 2021
0b6070f
Updated CHANGELOG
antonbabenko Jan 14, 2021
0ea6ffa
fix: Adding missing RDS endpoint to output.tf (#563)
andormarkus Jan 29, 2021
5446e1c
feat: Adding VPC endpoint for DMS (#564)
andormarkus Jan 29, 2021
6fbf213
Updated CHANGELOG
antonbabenko Jan 29, 2021
00d2a1d
fix: Fixed wrong count in DMS endpoint (#566)
antonbabenko Jan 29, 2021
a78cee9
Updated CHANGELOG
antonbabenko Jan 29, 2021
06fccd6
fix: Specify an endpoint type for S3 VPC endpoint (#573)
haidaraM Feb 2, 2021
7f692e9
Updated CHANGELOG
antonbabenko Feb 2, 2021
4b83a66
feat: Upgraded minimum required versions of AWS provider to 3.10 (#574)
antonbabenko Feb 2, 2021
115e736
Updated CHANGELOG
antonbabenko Feb 2, 2021
cc8f7d1
chore: update documentation based on latest `terraform-docs` which in…
bryantbiggs Feb 20, 2021
9667ffe
Updated CHANGELOG
antonbabenko Feb 20, 2021
67fd404
chore: add ci-cd workflow for pre-commit checks (#598)
bryantbiggs Feb 22, 2021
8997520
fix: Correctly manage route tables for database subnets when multiple…
Feb 22, 2021
ada814d
Updated CHANGELOG
antonbabenko Feb 22, 2021
0027771
fix: aws_default_security_group was always dirty when manage_default_…
schollii Feb 22, 2021
c5b10d1
chore: Adds database_subnet_group_name as an output variable (#592)
DeLoWaN Feb 22, 2021
ae84e80
Updated CHANGELOG
antonbabenko Feb 22, 2021
9f859de
chore: Updated the conditional creation section of the README (#584)
ae-ou Feb 22, 2021
5fcf610
fix: use filter for getting service type for S3 endpoint and update t…
bryantbiggs Feb 22, 2021
bbfd33e
Updated CHANGELOG
antonbabenko Feb 22, 2021
93a6f40
feat: add vpc endpoint policies to supported services (#601)
bryantbiggs Feb 23, 2021
bf8fbac
Updated CHANGELOG
antonbabenko Feb 23, 2021
4d31b0d
fix: Remove CreateLogGroup permission from service role (#550)
navaati Feb 23, 2021
ebe45b8
Updated CHANGELOG
antonbabenko Feb 23, 2021
4b52da0
feat: add default route table resource to manage default route table,…
bryantbiggs Feb 23, 2021
cb96e06
Updated CHANGELOG
antonbabenko Feb 23, 2021
997cba4
chore: align ci-cd static checks to use individual minimum Terraform …
bryantbiggs Mar 2, 2021
0c2db00
chore: update documentation and pin `terraform_docs` version to avoid…
bryantbiggs Mar 27, 2021
2c03424
feat: Add outpost support (subnet, NACL, IPv6) (#542)
brylex418 Apr 6, 2021
43edd44
Updated CHANGELOG
antonbabenko Apr 6, 2021
a98422b
refactor: remove existing vpc endpoint configurations from base modul…
bryantbiggs Apr 26, 2021
2ee908d
Updated CHANGELOG
antonbabenko Apr 26, 2021
73b447f
chore: update CI/CD to use stable `terraform-docs` release artifact a…
bryantbiggs May 3, 2021
231214a
chore: Private DNS cannot be used with S3 endpoint (#651)
lazzurs Jun 7, 2021
78cb420
chore: Removed link to cloudcraft
antonbabenko Jun 7, 2021
f782896
Updated CHANGELOG
antonbabenko Jun 7, 2021
aac2a37
feat: Added database_subnet_group_name variable (#656)
antonbabenko Jun 28, 2021
88e1c6e
Updated CHANGELOG
antonbabenko Jun 28, 2021
5d3ad78
fix: Fixed SID for assume role policy for flow logs (#670)
yi2020 Aug 10, 2021
4950b97
fix: Fixed mistake in separate private route tables example (#664)
hieultan Aug 10, 2021
5a20b1d
docs: Added ID of aws_vpc_dhcp_options to outputs (#669)
DOboznyi Aug 10, 2021
d25fa47
Updated CHANGELOG
antonbabenko Aug 10, 2021
4a39a9a
fix: Update the terraform to support new provider signatures (#678)
jrstarke Aug 13, 2021
f953fbc
Updated CHANGELOG
antonbabenko Aug 13, 2021
fdc476d
fix: Return correct route table when enable_public_redshift is set (#…
skorfmann Aug 15, 2021
2ca733d
Updated CHANGELOG
antonbabenko Aug 15, 2021
8d83e49
feat: Added device_name to customer gateway object. (#681)
byjg Aug 18, 2021
030d0f6
Updated CHANGELOG
antonbabenko Aug 18, 2021
3210728
feat: Add support for naming and tagging subnet groups (#688)
juho9000 Aug 31, 2021
71d5110
Updated CHANGELOG
antonbabenko Aug 31, 2021
e5159af
Updated pre-commit
antonbabenko Sep 20, 2021
352a8d9
chore: Updated outputs in example (#690)
itsmeremz Sep 20, 2021
39eae21
docs: Fixed docs in simple-vpc
antonbabenko Sep 20, 2021
96d22b8
Updated CHANGELOG
antonbabenko Oct 14, 2021
2423e4f
feat: Added support for VPC Flow Logs in Parquet format (#700)
drewmullen Oct 14, 2021
75911a9
Updated CHANGELOG
antonbabenko Oct 14, 2021
905dfa6
feat: Added timeout block to aws_default_route_table resource (#701)
msharma24 Oct 15, 2021
a93c233
Updated CHANGELOG
antonbabenko Oct 15, 2021
7bfc001
fix: Enabled destination_options only for VPC Flow Logs on S3 (#703)
kamialie Oct 15, 2021
afdc16e
Updated CHANGELOG
antonbabenko Oct 15, 2021
e09877d
feat: Add tags to VPC flow logs IAM policy (#706)
rajgandhi9 Nov 4, 2021
89a916e
Updated CHANGELOG
antonbabenko Nov 4, 2021
57ba0ef
fix: update CI/CD process to enable auto-release workflow (#711)
bryantbiggs Nov 22, 2021
80fec19
Merge branch 'master' of github.com:terraform-aws-modules/terraform-a…
Nov 24, 2021
4ef0303
Downgraded provider version to match current version in main repo
Nov 24, 2021
e2f472d
Removing Error Blocks
Nov 24, 2021
024b129
Renamed VPC
Nov 24, 2021
2e43672
Upgraded AWS provider version
Nov 24, 2021
65167bd
Downgraded AWS provider version
Nov 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ tab_width = 2
indent_style = tab

[COMMIT_EDITMSG]
max_line_length = 0
max_line_length = 0
34 changes: 34 additions & 0 deletions .github/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

## Pull Request Process

1. Update the README.md with details of changes including example hcl blocks and [example files](./examples) if appropriate.
2. Run pre-commit hooks `pre-commit run -a`.
3. Once all outstanding comments and checklist items have been addressed, your contribution will be merged! Merged PRs will be included in the next release. The terraform-aws-vpc maintainers take care of updating the CHANGELOG as they merge.

## Checklists for contributions

- [ ] Add [semantics prefix](#semantic-pull-requests) to your PR or Commits (at least one of your commit groups)
- [ ] CI tests are passing
- [ ] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-vpc/#doc-generation
- [ ] Run pre-commit hooks `pre-commit run -a`

## Semantic Pull Requests

To generate changelog, Pull Requests or Commits must have semantic and must follow conventional specs below:

- `feat:` for new features
- `fix:` for bug fixes
- `improvement:` for enhancements
- `docs:` for documentation and examples
- `refactor:` for code refactoring
- `test:` for tests
- `ci:` for CI purpose
- `chore:` for chores stuff

The `chore` prefix skipped during changelog generation. It can be used for `chore: update changelog` commit message by example.
78 changes: 78 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Pre-Commit

on:
pull_request:
branches:
- main
- master

env:
TERRAFORM_DOCS_VERSION: v0.16.0

jobs:
collectInputs:
name: Collect workflow inputs
runs-on: ubuntu-latest
outputs:
directories: ${{ steps.dirs.outputs.directories }}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Get root directories
id: dirs
uses: clowdhaus/terraform-composite-actions/directories@v1.3.0

preCommitMinVersions:
name: Min TF pre-commit
needs: collectInputs
runs-on: ubuntu-latest
strategy:
matrix:
directory: ${{ fromJson(needs.collectInputs.outputs.directories) }}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Terraform min/max versions
id: minMax
uses: clowdhaus/terraform-min-max@v1.0.3
with:
directory: ${{ matrix.directory }}

- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
# Run only validate pre-commit check on min version supported
if: ${{ matrix.directory != '.' }}
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
with:
terraform-version: ${{ steps.minMax.outputs.minVersion }}
args: 'terraform_validate --color=always --show-diff-on-failure --files ${{ matrix.directory }}/*'

- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
# Run only validate pre-commit check on min version supported
if: ${{ matrix.directory == '.' }}
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
with:
terraform-version: ${{ steps.minMax.outputs.minVersion }}
args: 'terraform_validate --color=always --show-diff-on-failure --files $(ls *.tf)'

preCommitMaxVersion:
name: Max TF pre-commit
runs-on: ubuntu-latest
needs: collectInputs
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Terraform min/max versions
id: minMax
uses: clowdhaus/terraform-min-max@v1.0.3

- name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
with:
terraform-version: ${{ steps.minMax.outputs.maxVersion }}
terraform-docs-version: ${{ env.TERRAFORM_DOCS_VERSION }}
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '**/*.py'
- '**/*.tf'

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0

- name: Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 18.0.0
extra_plugins: |
@semantic-release/changelog@6.0.0
@semantic-release/git@10.0.0
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
35 changes: 29 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
.terraform
*.tfstate*
.kitchen
terraform.tfstate
terraform.tfvars
Gemfile.lock
# Local .terraform directories
**/.terraform/*

# Terraform lockfile
.terraform.lock.hcl

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log

# Exclude all .tfvars files, which are likely to contain sentitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Ignore CLI configuration files
.terraformrc
terraform.rc
.idea
20 changes: 0 additions & 20 deletions .kitchen.yml

This file was deleted.

36 changes: 27 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.13.0
hooks:
- id: terraform_fmt
- id: terraform_docs
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
- id: check-merge-conflict
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.58.0
hooks:
- id: terraform_fmt
- id: terraform_validate
- id: terraform_docs
args:
- '--args=--lockfile=false'
- id: terraform_tflint
args:
- '--args=--only=terraform_deprecated_interpolation'
- '--args=--only=terraform_deprecated_index'
- '--args=--only=terraform_unused_declarations'
- '--args=--only=terraform_comment_syntax'
- '--args=--only=terraform_documented_outputs'
- '--args=--only=terraform_documented_variables'
- '--args=--only=terraform_typed_variables'
- '--args=--only=terraform_module_pinned_source'
- '--args=--only=terraform_naming_convention'
- '--args=--only=terraform_required_version'
- '--args=--only=terraform_required_providers'
- '--args=--only=terraform_standard_module_structure'
- '--args=--only=terraform_workspace_remote'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-merge-conflict
36 changes: 36 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"branches": [
"main",
"master"
],
"ci": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"successComment":
"This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
],
"message": "chore(release): version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

Loading