@studion/infra-code-blocks 0.1.1 → 0.1.2
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.
|
@@ -102,7 +102,7 @@ class WebServer extends pulumi.ComponentResource {
|
|
|
102
102
|
tags: constants_1.commonTags,
|
|
103
103
|
}, { parent: this });
|
|
104
104
|
const lbTargetGroup = new aws.lb.TargetGroup(`${this.name}-lb-tg`, {
|
|
105
|
-
namePrefix:
|
|
105
|
+
namePrefix: 'lb-tg-',
|
|
106
106
|
port,
|
|
107
107
|
protocol: 'HTTP',
|
|
108
108
|
targetType: 'ip',
|
|
@@ -114,7 +114,7 @@ class WebServer extends pulumi.ComponentResource {
|
|
|
114
114
|
timeout: 5,
|
|
115
115
|
path: healtCheckPath || defaults.healtCheckPath,
|
|
116
116
|
},
|
|
117
|
-
tags: constants_1.commonTags,
|
|
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
120
|
loadBalancerArn: this.lb.arn,
|