Skip to content

Commit

Permalink
s3-flow-logs: backport from tf-upgrade changes for bucket encryption …
Browse files Browse the repository at this point in the history
…to sse-s3
  • Loading branch information
badra001 committed Nov 1, 2022
1 parent 9b384d1 commit 5aa6a3a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,8 @@
* 1.16.2 -- 2022-07-20
- iam-general-policies
- add census ipv6 2610:20:2000::/38

* 1.16.3 -- 2022-11-01
- s3-flow-logs
- change encryption to AES256 from aws:kms (no default for log delivery)
- update policy according to docs: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-s3.html
4 changes: 4 additions & 0 deletions common/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ data "aws_arn" "current" {

data "aws_region" "current" {}

data "aws_regions" "current" {
all_regions = true
}

# output "caller_account_id" {
# value = data.aws_caller_identity.current.account_id
# }
Expand Down
11 changes: 11 additions & 0 deletions common/defaults.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

locals {
_defaults = {
"account_settings" = {
allow_users_to_change_password = true
hard_expiry = false
max_password_age = 89
minimum_password_length = 14
password_reuse_prevention = 24
require_lowercase_characters = true
require_numbers = true
require_symbols = true
require_uppercase_characters = true
}
"load-balancer" = {
"gov" = ["190560391635", "048591011584"]
"us-gov-east-1" = "190560391635"
Expand Down
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "1.16.2"
_module_version = "1.16.3"
}

0 comments on commit 5aa6a3a

Please sign in to comment.