File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - name: Target group for ALB
3
+ hosts: localhost
4
+ gather_facts: false
5
+ connection: local
6
+ tasks:
7
+ - name: Launch configuration
8
+ elb_application_lb:
9
+ name: myelb
10
+ security_groups:
11
+ - sg-095eef877179c6a17
12
+ subnets:
13
+ - subnet-61393006
14
+ - subnet-8b8fb1c2
15
+ listeners:
16
+ - Protocol: HTTPS # Required. The protocol for connections from clients to the load balancer (HTTP or HTTPS) (case-sensitive).
17
+ Port: 443 # Required. The port on which the load balancer is listening.
18
+ # The security policy that defines which ciphers and protocols are supported. The default is the current predefined security policy.
19
+ SslPolicy: ELBSecurityPolicy-2016-08
20
+ Certificates: # The ARN of the certificate (only one certficate ARN should be provided)
21
+ - CertificateArn: arn:aws:iam::*************:server-certificate/**
22
+ DefaultActions:
23
+ - Type: forward # Required. Only 'forward' is accepted at this time
24
+ TargetGroupName: testtg # Required. The name of the target group
25
+ state: present
You can’t perform that action at this time.
0 commit comments