12 lines
387 B
HCL
12 lines
387 B
HCL
resource "aws_s3_account_public_access_block" "default-s3-public-access-settings" {
|
|
block_public_acls = true
|
|
block_public_policy = true
|
|
ignore_public_acls = true
|
|
restrict_public_buckets = true
|
|
lifecycle { ignore_changes = all }
|
|
}
|
|
|
|
resource "aws_ebs_encryption_by_default" "default-ebs-encryption-setting" {
|
|
enabled = true
|
|
lifecycle { ignore_changes = all }
|
|
} |