Skip to content

Commit

Permalink
feat: update load balancer SSL policy (#1940)
Browse files Browse the repository at this point in the history
Update the latest recommend ALB SSL policy which is FIPS 140-3 compliant.
  • Loading branch information
patheard authored Oct 15, 2024
1 parent 9efa4b0 commit eeb4e89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion infrastructure/terragrunt/aws/load-balancer/load-balancer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ resource "aws_lb_target_group" "wordpress" {
}

resource "aws_lb_listener" "wordpress" {
# checkov:skip=CKV_AWS_103: false-positive, SSL policy is TLS1.2+
load_balancer_arn = aws_lb.wordpress.arn
port = "443"
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-FS-1-2-Res-2019-08"
ssl_policy = "ELBSecurityPolicy-TLS13-1-2-FIPS-2023-04"
certificate_arn = aws_acm_certificate.wordpress.arn

default_action {
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/terragrunt/aws/load-balancer/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "aws_s3_bucket" "cloudfront_logs" {

expiration {
days = 30
expired_object_delete_marker = true
expired_object_delete_marker = false
}

noncurrent_version_expiration {
Expand Down

0 comments on commit eeb4e89

Please sign in to comment.