Skip to content

Commit 638b17a

Browse files
authored
Merge pull request #17 from rhythmictech/terraform-v0.14.x
bump all the versions
2 parents 16b23c5 + b64354e commit 638b17a

12 files changed

Lines changed: 147 additions & 69 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,51 +10,6 @@ repos:
1010
alias: terraform_tflint_nocreds
1111
name: terraform_tflint_nocreds
1212
- id: terraform_tfsec
13-
- repo: local
14-
hooks:
15-
- id: terraform_validate
16-
name: terraform_validate
17-
entry: |
18-
bash -c '
19-
AWS_DEFAULT_REGION=us-east-1
20-
declare -a DIRS
21-
for FILE in "$@"
22-
do
23-
DIRS+=($(dirname "$FILE"))
24-
done
25-
for DIR in $(printf "%s\n" "${DIRS[@]}" | sort -u)
26-
do
27-
cd $(dirname "$FILE")
28-
terraform init --backend=false
29-
terraform validate .
30-
cd ..
31-
done
32-
'
33-
language: system
34-
verbose: true
35-
files: \.tf(vars)?$
36-
exclude: examples
37-
- id: tflock
38-
name: provider_locks
39-
entry: |
40-
bash -c '
41-
AWS_DEFAULT_REGION=us-east-1
42-
declare -a DIRS
43-
for FILE in "$@"
44-
do
45-
DIRS+=($(dirname "$FILE"))
46-
done
47-
for DIR in $(printf "%s\n" "${DIRS[@]}" | sort -u)
48-
do
49-
cd $(dirname "$FILE")
50-
terraform providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=linux_amd64
51-
cd ..
52-
done
53-
'
54-
language: system
55-
verbose: true
56-
files: \.tf(vars)?$
57-
exclude: examples
5813
- repo: https://github.com/pre-commit/pre-commit-hooks
5914
rev: v4.0.1
6015
hooks:

.terraform-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.6
1+
0.14.11

account/.terraform.lock.hcl

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

account/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
44
## Requirements
55

6-
| Name | Version |
7-
|------|---------|
8-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.0 |
6+
No requirements.
97

108
## Providers
119

@@ -17,11 +15,11 @@ No providers.
1715
|------|--------|---------|
1816
| <a name="module_backend"></a> [backend](#module\_backend) | rhythmictech/backend/aws | 2.1.0 |
1917
| <a name="module_cloudtrail_bucket"></a> [cloudtrail\_bucket](#module\_cloudtrail\_bucket) | rhythmictech/cloudtrail-bucket/aws | ~> 1.2.0 |
20-
| <a name="module_cloudtrail_logging"></a> [cloudtrail\_logging](#module\_cloudtrail\_logging) | rhythmictech/cloudtrail-logging/aws | ~> 1.1.0 |
18+
| <a name="module_cloudtrail_logging"></a> [cloudtrail\_logging](#module\_cloudtrail\_logging) | rhythmictech/cloudtrail-logging/aws | ~> 1.3.0 |
2119
| <a name="module_does_workspace_match_env"></a> [does\_workspace\_match\_env](#module\_does\_workspace\_match\_env) | rhythmictech/errorcheck/terraform | ~> 1.0.0 |
2220
| <a name="module_iam_password_policy"></a> [iam\_password\_policy](#module\_iam\_password\_policy) | rhythmictech/iam-password-policy/aws | 1.0.0 |
2321
| <a name="module_rhythmic_iam_roles"></a> [rhythmic\_iam\_roles](#module\_rhythmic\_iam\_roles) | rhythmictech/rhythmic-iam-roles/aws | ~> 1.1.0 |
24-
| <a name="module_s3logging_bucket"></a> [s3logging\_bucket](#module\_s3logging\_bucket) | rhythmictech/s3logging-bucket/aws | ~> 1.0.1 |
22+
| <a name="module_s3logging_bucket"></a> [s3logging\_bucket](#module\_s3logging\_bucket) | rhythmictech/s3logging-bucket/aws | ~> 2.0.0 |
2523
| <a name="module_tags"></a> [tags](#module\_tags) | rhythmictech/tags/terraform | ~> 1.1.0 |
2624

2725
## Resources
@@ -48,6 +46,6 @@ No resources.
4846
| Name | Description |
4947
|------|-------------|
5048
| <a name="output_cloudtrail_log_group"></a> [cloudtrail\_log\_group](#output\_cloudtrail\_log\_group) | CloudTrail CloudWatch log group |
51-
| <a name="output_s3_bucket_access_logging"></a> [s3\_bucket\_access\_logging](#output\_s3\_bucket\_access\_logging) | S3 bucket to receive S3 bucket access logs |
49+
| <a name="output_s3_bucket_access_logging_bucket"></a> [s3\_bucket\_access\_logging\_bucket](#output\_s3\_bucket\_access\_logging\_bucket) | S3 bucket to receive S3 bucket access logs |
5250
| <a name="output_s3_bucket_access_logging_domain_name"></a> [s3\_bucket\_access\_logging\_domain\_name](#output\_s3\_bucket\_access\_logging\_domain\_name) | S3 bucket to receive S3 bucket access logs |
5351
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

account/main.tf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ module "rhythmic_iam_roles" {
2424

2525
module "s3logging_bucket" {
2626
source = "rhythmictech/s3logging-bucket/aws"
27-
version = "~> 1.0.1"
27+
version = "~> 2.0.0"
2828

2929
bucket_suffix = "account"
30-
region = var.region
3130
tags = module.tags.tags_no_name
3231

3332
# store for 1 yr
@@ -43,14 +42,14 @@ module "s3logging_bucket" {
4342
module "cloudtrail_bucket" {
4443
source = "rhythmictech/cloudtrail-bucket/aws"
4544
version = "~> 1.2.0"
46-
logging_bucket = module.s3logging_bucket.s3logging_bucket_name
45+
logging_bucket = module.s3logging_bucket.s3_bucket_name
4746
region = var.region
4847
tags = module.tags.tags_no_name
4948
}
5049

5150
module "cloudtrail_logging" {
5251
source = "rhythmictech/cloudtrail-logging/aws"
53-
version = "~> 1.1.0"
52+
version = "~> 1.3.0"
5453
region = var.region
5554
cloudtrail_bucket = module.cloudtrail_bucket.s3_bucket_name
5655
kms_key_id = module.cloudtrail_bucket.kms_key_id

account/outputs.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ output "cloudtrail_log_group" {
88
value = module.cloudtrail_logging.cloudwatch_loggroup_name
99
}
1010

11-
output "s3_bucket_access_logging" {
11+
output "s3_bucket_access_logging_bucket" {
1212
description = "S3 bucket to receive S3 bucket access logs"
13-
value = module.s3logging_bucket.s3logging_bucket_name
13+
value = module.s3logging_bucket.s3_bucket_name
1414
}
1515

1616
output "s3_bucket_access_logging_domain_name" {
1717
description = "S3 bucket to receive S3 bucket access logs"
18-
value = module.s3logging_bucket.s3logging_bucket_domain_name
18+
value = module.s3logging_bucket.s3_bucket_domain_name
1919
}

account/setup/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#tfsec:ignore:aws-dynamodb-table-customer-key,aws-dynamodb-enable-recovery
2+
#tfsec:ignore:aws-dynamodb-table-customer-key tfsec:ignore:aws-dynamodb-enable-recovery
33
module "backend" {
44
source = "rhythmictech/backend/aws"
55
version = "2.1.0"

common/.terraform.lock.hcl

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/common.tf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ provider "aws" {
77

88
terraform {
99
backend "s3" {}
10-
11-
required_version = ">= 0.13.0"
1210
}
1311

1412
# Intentionally throws an error if the workspace doesn't match the env

network/.terraform.lock.hcl

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)