Skip to content

Commit

Permalink
Merge pull request #15 from amavrogiannis/feat/reformat-terraform
Browse files Browse the repository at this point in the history
Feat/reformat terraform p2
  • Loading branch information
amavrogiannis authored Mar 29, 2024
2 parents 1e8141c + 6a3c800 commit ac60f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/terraform_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ name: "Production - Terraform Infrastructure"
on:
push:
branches:
- feature/**
- main
paths:
- infra/envs/prod/**
- infra/modules/**
pull_request:
branches:
- main
- prod
paths:
- infra/envs/prod/**
- infra/modules/**
Expand Down
4 changes: 2 additions & 2 deletions infra/modules/web/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ resource "aws_cloudfront_distribution" "this" {

#First, create certificate, before pasting the ARN here.
viewer_certificate {
acm_certificate_arn = data.aws_acm_certificate.this.arn
cloudfront_default_certificate = false
# acm_certificate_arn = data.aws_acm_certificate.this.arn
cloudfront_default_certificate = true
minimum_protocol_version = "TLSv1.2_2021"
ssl_support_method = "sni-only"
}
Expand Down

0 comments on commit ac60f2d

Please sign in to comment.