Skip to content

Commit 5a1ee80

Browse files
committed
changed settings for ebs-encription
1 parent 2648cb7 commit 5a1ee80

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

terragrunt/ACCOUNT_ID/us-east-1/demo/ebs-encryption/terragrunt.hcl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ include "env" {
88
expose = true
99
}
1010

11-
include "region" {
12-
path = find_in_parent_folders("region.hcl")
13-
expose = true
14-
}
15-
1611
generate "providers_versions" {
1712
path = "versions.tf"
1813
if_exists = "overwrite"
@@ -35,6 +30,5 @@ terraform {
3530
}
3631

3732
inputs = {
38-
name = include.env.locals.name
39-
enable = include.region.locals.region_values.aws_ebs_encryption_by_default
33+
enable = include.env.locals.values.aws_ebs_encryption_by_default
4034
}

terragrunt/ACCOUNT_ID/us-east-1/demo/env.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ environment: "demo"
55
domain_name: "maddevs.org"
66
create_r53_zone: false
77
create_acm_certificate: true
8+
aws_ebs_encryption_by_default: true
89

910

1011
allowed_ips:

terragrunt/ACCOUNT_ID/us-east-1/region.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@ short_region:
2828
us-gov-east-1: "usge1" # AWS GovCloud (US-East)
2929
us-gov-west-1: "usgw1" # AWS GovCloud (US)
3030

31-
aws_ebs_encryption_by_default: true

0 commit comments

Comments
 (0)