Skip to content
Compare
Choose a tag to compare
@PhillypHenning PhillypHenning released this 26 Jan 22:52
· 45 commits to main since this release
872d733

Update security group ports based on certificate availability

Reasoning: There is a conditional performed that compares the app_port to the lb_port when creating the aws_security_group_rule.ingress_lb_port. It seems that the app_port changed default values between the terraform variables.tf and the action.yaml. This updates action.yaml to use 3000 instead of 80

  • Update the port range of the security group ingress rule to 443 if a certificate is available, otherwise 80
  • Change the default port for the app to 3000
  • Change the default port for the load balancer to 443 if a FQDN is provided

[action.yaml]

  • Change the default port for the app from 80 to 3000
  • Change the default port for the load balancer from 80 to 443 if a FQDN is provided
    [operations/deployment/terraform/security-group.tf]
  • Change the port range of the ingress security group rule based on the availability of a certificate
  • Update the from_port and to_port values to 443 if a certificate is available, otherwise to 80