@studion/infra-code-blocks 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,7 +117,7 @@ class WebServer extends pulumi.ComponentResource {
|
|
|
117
117
|
tags: Object.assign(Object.assign({}, constants_1.commonTags), { Name: `${this.name}-lb-target-group` }),
|
|
118
118
|
}, { parent: this, dependsOn: [this.lb] });
|
|
119
119
|
const lbHttpListener = new aws.lb.Listener(`${this.name}-lb-listener-80`, {
|
|
120
|
-
loadBalancerArn:
|
|
120
|
+
loadBalancerArn: lb.arn,
|
|
121
121
|
port: 80,
|
|
122
122
|
defaultActions: [
|
|
123
123
|
{
|
|
@@ -132,7 +132,7 @@ class WebServer extends pulumi.ComponentResource {
|
|
|
132
132
|
tags: constants_1.commonTags,
|
|
133
133
|
}, { parent: this });
|
|
134
134
|
const lbTlsListener = new aws.lb.Listener(`${this.name}-lb-listener-443`, {
|
|
135
|
-
loadBalancerArn:
|
|
135
|
+
loadBalancerArn: lb.arn,
|
|
136
136
|
port: 443,
|
|
137
137
|
protocol: 'HTTPS',
|
|
138
138
|
sslPolicy: 'ELBSecurityPolicy-2016-08',
|
|
@@ -140,7 +140,7 @@ class WebServer extends pulumi.ComponentResource {
|
|
|
140
140
|
defaultActions: [
|
|
141
141
|
{
|
|
142
142
|
type: 'forward',
|
|
143
|
-
targetGroupArn:
|
|
143
|
+
targetGroupArn: lbTargetGroup.arn,
|
|
144
144
|
},
|
|
145
145
|
],
|
|
146
146
|
tags: constants_1.commonTags,
|