@studion/infra-code-blocks 0.1.1 → 0.1.3

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.
@@ -93,16 +93,16 @@ class WebServer extends pulumi.ComponentResource {
93
93
  tags: constants_1.commonTags,
94
94
  }, { parent: this });
95
95
  const lb = new aws.lb.LoadBalancer(`${this.name}-lb`, {
96
- namePrefix: `${this.name}-lb-`,
96
+ namePrefix: 'lb-',
97
97
  loadBalancerType: 'application',
98
98
  subnets: vpc.publicSubnetIds,
99
99
  securityGroups: [lbSecurityGroup.id],
100
100
  internal: false,
101
101
  ipAddressType: 'ipv4',
102
- tags: constants_1.commonTags,
102
+ tags: Object.assign(Object.assign({}, constants_1.commonTags), { Name: `${this.name}-lb` }),
103
103
  }, { parent: this });
104
104
  const lbTargetGroup = new aws.lb.TargetGroup(`${this.name}-lb-tg`, {
105
- namePrefix: `${this.name}-lb-tg-`,
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studion/infra-code-blocks",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Studion common infra components",
5
5
  "keywords": [
6
6
  "infrastructure",