Skip to content

Commit

Permalink
Renamed ALB
Browse files Browse the repository at this point in the history
  • Loading branch information
latifcabinetoffice committed Jul 2, 2024
1 parent eb4fd50 commit 87a0c12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ Resources:
Value: !Ref OwnerTagValue
- Key: Source
Value: !Ref SourceTagValue
DependsOn: ApplicationLoadBalancerListener
DependsOn: ApplicationLoadBalancerListenerHTTPS

ContainerAutoScalingTarget:
Type: AWS::ApplicationAutoScaling::ScalableTarget
Expand Down Expand Up @@ -1074,7 +1074,7 @@ Resources:
!Sub "${VpcStackName}-VpcLinkId"
ConnectionType: VPC_LINK
IntegrationMethod: ANY
IntegrationUri: !Ref ApplicationLoadBalancerListener
IntegrationUri: !Ref ApplicationLoadBalancerListenerHTTPS
PayloadFormatVersion: 1.0
Description: !Sub "API GW to ECS Container integration for ${AWS::StackName}"
TlsConfig:
Expand Down Expand Up @@ -1201,7 +1201,7 @@ Resources:
- Key: Owner
Value: !Ref OwnerTagValue

ApplicationLoadBalancerListener:
ApplicationLoadBalancerListenerHTTPS:
Type: AWS::ElasticLoadBalancingV2::Listener
Properties:
# checkov:skip=CKV_AWS_2:Certificate generation must be resolved before the listener can use HTTPS.
Expand Down Expand Up @@ -1301,7 +1301,7 @@ Resources:
PathPatternConfig:
Values:
- "/robots.txt"
ListenerArn: !Ref ApplicationLoadBalancerListener
ListenerArn: !Ref ApplicationLoadBalancerListenerHTTPS
Priority: 10

#
Expand Down

0 comments on commit 87a0c12

Please sign in to comment.