@pulumi/aws 5.3.0 → 5.4.0-alpha.1651662816
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.
- package/acm/certificate.d.ts +1 -1
- package/acm/certificate.js +1 -1
- package/acm/certificateValidation.d.ts +1 -1
- package/acm/certificateValidation.js +1 -1
- package/acmpca/certificate.d.ts +0 -35
- package/acmpca/certificate.js +0 -35
- package/acmpca/certificate.js.map +1 -1
- package/acmpca/certificateAuthorityCertificate.d.ts +2 -2
- package/acmpca/certificateAuthorityCertificate.js +2 -2
- package/alb/listener.d.ts +7 -7
- package/alb/listener.js +7 -7
- package/amplify/branch.d.ts +0 -17
- package/amplify/branch.js +0 -17
- package/amplify/branch.js.map +1 -1
- package/apigatewayv2/integration.d.ts +2 -2
- package/apigatewayv2/integration.js +2 -2
- package/appautoscaling/policy.d.ts +1 -1
- package/appautoscaling/policy.js +1 -1
- package/applicationloadbalancing/listener.d.ts +7 -7
- package/applicationloadbalancing/listener.js +7 -7
- package/appsync/apiCache.d.ts +0 -13
- package/appsync/apiCache.js +0 -13
- package/appsync/apiCache.js.map +1 -1
- package/cloudwatch/metricAlarm.d.ts +6 -6
- package/cloudwatch/metricAlarm.js +6 -6
- package/codebuild/project.d.ts +3 -3
- package/codebuild/project.js +3 -3
- package/cognito/user.d.ts +2 -2
- package/cognito/user.js +2 -2
- package/directconnect/hostedTransitVirtualInterfaceAcceptor.d.ts +1 -1
- package/directconnect/hostedTransitVirtualInterfaceAcceptor.js +1 -1
- package/directconnect/transitVirtualInterface.d.ts +1 -1
- package/directconnect/transitVirtualInterface.js +1 -1
- package/dms/replicationTask.d.ts +1 -1
- package/dms/replicationTask.js +1 -1
- package/docdb/globalCluster.d.ts +0 -55
- package/docdb/globalCluster.js +0 -55
- package/docdb/globalCluster.js.map +1 -1
- package/ec2/defaultNetworkAcl.d.ts +3 -3
- package/ec2/defaultNetworkAcl.js +3 -3
- package/ec2/defaultSecurityGroup.d.ts +2 -2
- package/ec2/defaultSecurityGroup.js +2 -2
- package/ec2/getCustomerGateway.d.ts +1 -1
- package/ec2/getCustomerGateway.js +1 -1
- package/ec2/launchTemplate.d.ts +2 -2
- package/ec2/launchTemplate.js +2 -2
- package/ec2/tag.d.ts +1 -1
- package/ec2/tag.js +1 -1
- package/ec2/vpcIpam.d.ts +0 -42
- package/ec2/vpcIpam.js +0 -42
- package/ec2/vpcIpam.js.map +1 -1
- package/ec2/vpcIpamPoolCidr.d.ts +0 -51
- package/ec2/vpcIpamPoolCidr.js +0 -51
- package/ec2/vpcIpamPoolCidr.js.map +1 -1
- package/ec2/vpnConnection.d.ts +2 -2
- package/ec2/vpnConnection.js +2 -2
- package/ec2/vpnConnectionRoute.d.ts +1 -1
- package/ec2/vpnConnectionRoute.js +1 -1
- package/ec2transitgateway/connect.d.ts +0 -17
- package/ec2transitgateway/connect.js +0 -17
- package/ec2transitgateway/connect.js.map +1 -1
- package/ecs/capacityProvider.d.ts +1 -1
- package/ecs/capacityProvider.js +1 -1
- package/ecs/taskDefinition.d.ts +2 -2
- package/ecs/taskDefinition.js +2 -2
- package/eks/cluster.d.ts +21 -15
- package/eks/cluster.js +21 -15
- package/eks/cluster.js.map +1 -1
- package/eks/getAddonVersion.d.ts +22 -16
- package/eks/getAddonVersion.js +22 -16
- package/eks/getAddonVersion.js.map +1 -1
- package/eks/getCluster.d.ts +13 -6
- package/eks/getCluster.js +13 -6
- package/eks/getCluster.js.map +1 -1
- package/elasticloadbalancingv2/listener.d.ts +7 -7
- package/elasticloadbalancingv2/listener.js +7 -7
- package/emr/cluster.d.ts +1 -1
- package/emr/cluster.js +1 -1
- package/getDefaultTags.d.ts +0 -16
- package/getDefaultTags.js +0 -16
- package/getDefaultTags.js.map +1 -1
- package/getIpRanges.d.ts +2 -2
- package/getIpRanges.js +2 -2
- package/iam/signingCertificate.d.ts +0 -30
- package/iam/signingCertificate.js +0 -30
- package/iam/signingCertificate.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +1 -1
- package/imagebuilder/imageRecipe.js +1 -1
- package/inspector/getRulesPackages.d.ts +1 -1
- package/inspector/getRulesPackages.js +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +2 -2
- package/kinesis/firehoseDeliveryStream.js +2 -2
- package/lakeformation/permissions.d.ts +0 -19
- package/lakeformation/permissions.js +0 -19
- package/lakeformation/permissions.js.map +1 -1
- package/lb/listener.d.ts +7 -7
- package/lb/listener.js +7 -7
- package/mwaa/environment.d.ts +2 -2
- package/mwaa/environment.js +2 -2
- package/neptune/eventSubscription.d.ts +3 -3
- package/neptune/eventSubscription.js +3 -3
- package/networkmanager/customerGatewayAssociation.d.ts +1 -1
- package/networkmanager/customerGatewayAssociation.js +1 -1
- package/opsworks/application.d.ts +1 -1
- package/opsworks/application.js +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/route53/getZone.d.ts +1 -1
- package/route53/getZone.js +1 -1
- package/route53/healthCheck.d.ts +3 -3
- package/route53/healthCheck.js +3 -3
- package/route53/record.d.ts +3 -3
- package/route53/record.js +3 -3
- package/route53/zone.d.ts +1 -1
- package/route53/zone.js +1 -1
- package/ses/domainDkim.d.ts +1 -1
- package/ses/domainDkim.js +1 -1
- package/ses/domainIdentity.d.ts +1 -1
- package/ses/domainIdentity.js +1 -1
- package/ses/domainIdentityVerification.d.ts +1 -1
- package/ses/domainIdentityVerification.js +1 -1
- package/ses/mailFrom.d.ts +2 -2
- package/ses/mailFrom.js +2 -2
- package/shield/protectionHealthCheckAssociation.d.ts +2 -2
- package/shield/protectionHealthCheckAssociation.js +2 -2
- package/ssm/activation.d.ts +1 -1
- package/ssm/activation.js +1 -1
- package/ssm/maintenanceWindowTask.d.ts +6 -6
- package/ssm/maintenanceWindowTask.js +6 -6
- package/storagegateway/fileSystemAssociation.d.ts +1 -1
- package/storagegateway/fileSystemAssociation.js +1 -1
- package/workspaces/directory.d.ts +1 -1
- package/workspaces/directory.js +1 -1
package/ec2/vpcIpamPoolCidr.js
CHANGED
|
@@ -13,57 +13,6 @@ const utilities = require("../utilities");
|
|
|
13
13
|
* > **NOTE:** In order to deprovision CIDRs all Allocations must be released. Allocations created by a VPC take up to 30 minutes to be released. However, for IPAM to properly manage the removal of allocation records created by VPCs and other resources, you must [grant it permissions](https://docs.aws.amazon.com/vpc/latest/ipam/choose-single-user-or-orgs-ipam.html) in
|
|
14
14
|
* either a single account or organizationally. If you are unable to deprovision a cidr after waiting over 30 minutes, you may be missing the Service Linked Role.
|
|
15
15
|
*
|
|
16
|
-
* ## Example Usage
|
|
17
|
-
*
|
|
18
|
-
* Basic usage:
|
|
19
|
-
*
|
|
20
|
-
* ```typescript
|
|
21
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
-
* import * as aws from "@pulumi/aws";
|
|
23
|
-
*
|
|
24
|
-
* const current = aws.getRegion({});
|
|
25
|
-
* const exampleVpcIpam = new aws.ec2.VpcIpam("exampleVpcIpam", {operatingRegions: [{
|
|
26
|
-
* regionName: current.then(current => current.name),
|
|
27
|
-
* }]});
|
|
28
|
-
* const exampleVpcIpamPool = new aws.ec2.VpcIpamPool("exampleVpcIpamPool", {
|
|
29
|
-
* addressFamily: "ipv4",
|
|
30
|
-
* ipamScopeId: exampleVpcIpam.privateDefaultScopeId,
|
|
31
|
-
* locale: current.then(current => current.name),
|
|
32
|
-
* });
|
|
33
|
-
* const exampleVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("exampleVpcIpamPoolCidr", {
|
|
34
|
-
* ipamPoolId: exampleVpcIpamPool.id,
|
|
35
|
-
* cidr: "172.2.0.0/16",
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* Provision Public IPv6 Pool CIDRs:
|
|
40
|
-
*
|
|
41
|
-
* ```typescript
|
|
42
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
-
* import * as aws from "@pulumi/aws";
|
|
44
|
-
*
|
|
45
|
-
* const current = aws.getRegion({});
|
|
46
|
-
* const example = new aws.ec2.VpcIpam("example", {operatingRegions: [{
|
|
47
|
-
* regionName: current.then(current => current.name),
|
|
48
|
-
* }]});
|
|
49
|
-
* const ipv6TestPublicVpcIpamPool = new aws.ec2.VpcIpamPool("ipv6TestPublicVpcIpamPool", {
|
|
50
|
-
* addressFamily: "ipv6",
|
|
51
|
-
* ipamScopeId: example.publicDefaultScopeId,
|
|
52
|
-
* locale: "us-east-1",
|
|
53
|
-
* description: "public ipv6",
|
|
54
|
-
* advertisable: false,
|
|
55
|
-
* awsService: "ec2",
|
|
56
|
-
* });
|
|
57
|
-
* const ipv6TestPublicVpcIpamPoolCidr = new aws.ec2.VpcIpamPoolCidr("ipv6TestPublicVpcIpamPoolCidr", {
|
|
58
|
-
* ipamPoolId: ipv6TestPublicVpcIpamPool.id,
|
|
59
|
-
* cidr: _var.ipv6_cidr,
|
|
60
|
-
* cidrAuthorizationContext: {
|
|
61
|
-
* message: _var.message,
|
|
62
|
-
* signature: _var.signature,
|
|
63
|
-
* },
|
|
64
|
-
* });
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
16
|
* ## Import
|
|
68
17
|
*
|
|
69
18
|
* IPAMs can be imported using the `<cidr>_<ipam-pool-id>`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vpcIpamPoolCidr.js","sourceRoot":"","sources":["../../ec2/vpcIpamPoolCidr.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"vpcIpamPoolCidr.js","sourceRoot":"","sources":["../../ec2/vpcIpamPoolCidr.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAiDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,I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ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAqEC;AAvDG,gBAAgB;AACO,4BAAY,GAAG,yCAAyC,CAAC"}
|
package/ec2/vpnConnection.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
16
16
|
*
|
|
17
17
|
* const exampleTransitGateway = new aws.ec2transitgateway.TransitGateway("exampleTransitGateway", {});
|
|
18
18
|
* const exampleCustomerGateway = new aws.ec2.CustomerGateway("exampleCustomerGateway", {
|
|
19
|
-
* bgpAsn: 65000,
|
|
19
|
+
* bgpAsn: "65000",
|
|
20
20
|
* ipAddress: "172.0.0.1",
|
|
21
21
|
* type: "ipsec.1",
|
|
22
22
|
* });
|
|
@@ -35,7 +35,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
35
35
|
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
|
|
36
36
|
* const vpnGateway = new aws.ec2.VpnGateway("vpnGateway", {vpcId: vpc.id});
|
|
37
37
|
* const customerGateway = new aws.ec2.CustomerGateway("customerGateway", {
|
|
38
|
-
* bgpAsn: 65000,
|
|
38
|
+
* bgpAsn: "65000",
|
|
39
39
|
* ipAddress: "172.0.0.1",
|
|
40
40
|
* type: "ipsec.1",
|
|
41
41
|
* });
|
package/ec2/vpnConnection.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("../utilities");
|
|
|
21
21
|
*
|
|
22
22
|
* const exampleTransitGateway = new aws.ec2transitgateway.TransitGateway("exampleTransitGateway", {});
|
|
23
23
|
* const exampleCustomerGateway = new aws.ec2.CustomerGateway("exampleCustomerGateway", {
|
|
24
|
-
* bgpAsn: 65000,
|
|
24
|
+
* bgpAsn: "65000",
|
|
25
25
|
* ipAddress: "172.0.0.1",
|
|
26
26
|
* type: "ipsec.1",
|
|
27
27
|
* });
|
|
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
40
40
|
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
|
|
41
41
|
* const vpnGateway = new aws.ec2.VpnGateway("vpnGateway", {vpcId: vpc.id});
|
|
42
42
|
* const customerGateway = new aws.ec2.CustomerGateway("customerGateway", {
|
|
43
|
-
* bgpAsn: 65000,
|
|
43
|
+
* bgpAsn: "65000",
|
|
44
44
|
* ipAddress: "172.0.0.1",
|
|
45
45
|
* type: "ipsec.1",
|
|
46
46
|
* });
|
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
|
|
12
12
|
* const vpnGateway = new aws.ec2.VpnGateway("vpnGateway", {vpcId: vpc.id});
|
|
13
13
|
* const customerGateway = new aws.ec2.CustomerGateway("customerGateway", {
|
|
14
|
-
* bgpAsn: 65000,
|
|
14
|
+
* bgpAsn: "65000",
|
|
15
15
|
* ipAddress: "172.0.0.1",
|
|
16
16
|
* type: "ipsec.1",
|
|
17
17
|
* });
|
|
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* const vpc = new aws.ec2.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
|
|
18
18
|
* const vpnGateway = new aws.ec2.VpnGateway("vpnGateway", {vpcId: vpc.id});
|
|
19
19
|
* const customerGateway = new aws.ec2.CustomerGateway("customerGateway", {
|
|
20
|
-
* bgpAsn: 65000,
|
|
20
|
+
* bgpAsn: "65000",
|
|
21
21
|
* ipAddress: "172.0.0.1",
|
|
22
22
|
* type: "ipsec.1",
|
|
23
23
|
* });
|
|
@@ -2,23 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages an EC2 Transit Gateway Connect.
|
|
4
4
|
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as aws from "@pulumi/aws";
|
|
10
|
-
*
|
|
11
|
-
* const example = new aws.ec2transitgateway.Connect("example", {
|
|
12
|
-
* subnetIds: [aws_subnet.example.id],
|
|
13
|
-
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
14
|
-
* vpcId: aws_vpc.example.id,
|
|
15
|
-
* });
|
|
16
|
-
* const attachment = new aws.ec2transitgateway.Connect("attachment", {
|
|
17
|
-
* transportAttachmentId: aws_ec2_transit_gateway_vpc_attachment.example.id,
|
|
18
|
-
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
5
|
* ## Import
|
|
23
6
|
*
|
|
24
7
|
* `aws_ec2_transit_gateway_connect` can be imported by using the EC2 Transit Gateway Connect identifier, e.g.,
|
|
@@ -8,23 +8,6 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages an EC2 Transit Gateway Connect.
|
|
10
10
|
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as aws from "@pulumi/aws";
|
|
16
|
-
*
|
|
17
|
-
* const example = new aws.ec2transitgateway.Connect("example", {
|
|
18
|
-
* subnetIds: [aws_subnet.example.id],
|
|
19
|
-
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
20
|
-
* vpcId: aws_vpc.example.id,
|
|
21
|
-
* });
|
|
22
|
-
* const attachment = new aws.ec2transitgateway.Connect("attachment", {
|
|
23
|
-
* transportAttachmentId: aws_ec2_transit_gateway_vpc_attachment.example.id,
|
|
24
|
-
* transitGatewayId: aws_ec2_transit_gateway.example.id,
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
11
|
* ## Import
|
|
29
12
|
*
|
|
30
13
|
* `aws_ec2_transit_gateway_connect` can be imported by using the EC2 Transit Gateway Connect identifier, e.g.,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../ec2transitgateway/connect.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../ec2transitgateway/connect.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA2D9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,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,CAAC,4CAA4C,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0CAA0C,CAAC,CAAC,CAAC,SAAS,CAAC;YAClI,cAAc,CAAC,4CAA4C,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0CAA0C,CAAC,CAAC,CAAC,SAAS,CAAC;YAClI,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAxFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA0FC;AA5EG,gBAAgB;AACO,oBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
14
14
|
* // ... other configuration, including potentially other tags ...
|
|
15
15
|
* const testGroup = new aws.autoscaling.Group("testGroup", {tags: [{
|
|
16
16
|
* key: "AmazonECSManaged",
|
|
17
|
-
* value: true,
|
|
17
|
+
* value: "true",
|
|
18
18
|
* propagateAtLaunch: true,
|
|
19
19
|
* }]});
|
|
20
20
|
* const testCapacityProvider = new aws.ecs.CapacityProvider("testCapacityProvider", {autoScalingGroupProvider: {
|
package/ecs/capacityProvider.js
CHANGED
|
@@ -19,7 +19,7 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* // ... other configuration, including potentially other tags ...
|
|
20
20
|
* const testGroup = new aws.autoscaling.Group("testGroup", {tags: [{
|
|
21
21
|
* key: "AmazonECSManaged",
|
|
22
|
-
* value: true,
|
|
22
|
+
* value: "true",
|
|
23
23
|
* propagateAtLaunch: true,
|
|
24
24
|
* }]});
|
|
25
25
|
* const testCapacityProvider = new aws.ecs.CapacityProvider("testCapacityProvider", {autoScalingGroupProvider: {
|
package/ecs/taskDefinition.d.ts
CHANGED
|
@@ -63,8 +63,8 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
63
63
|
* AppPorts: "8080",
|
|
64
64
|
* EgressIgnoredIPs: "169.254.170.2,169.254.169.254",
|
|
65
65
|
* IgnoredUID: "1337",
|
|
66
|
-
* ProxyEgressPort: 15001,
|
|
67
|
-
* ProxyIngressPort: 15000,
|
|
66
|
+
* ProxyEgressPort: "15001",
|
|
67
|
+
* ProxyIngressPort: "15000",
|
|
68
68
|
* },
|
|
69
69
|
* },
|
|
70
70
|
* });
|
package/ecs/taskDefinition.js
CHANGED
|
@@ -68,8 +68,8 @@ const utilities = require("../utilities");
|
|
|
68
68
|
* AppPorts: "8080",
|
|
69
69
|
* EgressIgnoredIPs: "169.254.170.2,169.254.169.254",
|
|
70
70
|
* IgnoredUID: "1337",
|
|
71
|
-
* ProxyEgressPort: 15001,
|
|
72
|
-
* ProxyIngressPort: 15000,
|
|
71
|
+
* ProxyEgressPort: "15001",
|
|
72
|
+
* ProxyIngressPort: "15000",
|
|
73
73
|
* },
|
|
74
74
|
* },
|
|
75
75
|
* });
|
package/eks/cluster.d.ts
CHANGED
|
@@ -10,22 +10,28 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as aws from "@pulumi/aws";
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
13
|
+
* export = async () => {
|
|
14
|
+
* const example = new aws.eks.Cluster("example", {
|
|
15
|
+
* roleArn: aws_iam_role.example.arn,
|
|
16
|
+
* vpcConfig: {
|
|
17
|
+
* subnetIds: [
|
|
18
|
+
* aws_subnet.example1.id,
|
|
19
|
+
* aws_subnet.example2.id,
|
|
20
|
+
* ],
|
|
21
|
+
* },
|
|
22
|
+
* }, {
|
|
23
|
+
* dependsOn: [
|
|
24
|
+
* aws_iam_role_policy_attachment["example-AmazonEKSClusterPolicy"],
|
|
25
|
+
* aws_iam_role_policy_attachment["example-AmazonEKSVPCResourceController"],
|
|
19
26
|
* ],
|
|
20
|
-
* }
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* export const kubeconfig_certificate_authority_data = example.certificateAuthority.apply(certificateAuthority => certificateAuthority.data);
|
|
27
|
+
* });
|
|
28
|
+
* const endpoint = example.endpoint;
|
|
29
|
+
* const kubeconfig_certificate_authority_data = example.certificateAuthority.apply(certificateAuthority => certificateAuthority.data);
|
|
30
|
+
* return {
|
|
31
|
+
* endpoint: endpoint,
|
|
32
|
+
* "kubeconfig-certificate-authority-data": kubeconfig_certificate_authority_data,
|
|
33
|
+
* };
|
|
34
|
+
* }
|
|
29
35
|
* ```
|
|
30
36
|
* ### Example IAM Role for EKS Cluster
|
|
31
37
|
*
|
package/eks/cluster.js
CHANGED
|
@@ -15,22 +15,28 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as aws from "@pulumi/aws";
|
|
17
17
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
18
|
+
* export = async () => {
|
|
19
|
+
* const example = new aws.eks.Cluster("example", {
|
|
20
|
+
* roleArn: aws_iam_role.example.arn,
|
|
21
|
+
* vpcConfig: {
|
|
22
|
+
* subnetIds: [
|
|
23
|
+
* aws_subnet.example1.id,
|
|
24
|
+
* aws_subnet.example2.id,
|
|
25
|
+
* ],
|
|
26
|
+
* },
|
|
27
|
+
* }, {
|
|
28
|
+
* dependsOn: [
|
|
29
|
+
* aws_iam_role_policy_attachment["example-AmazonEKSClusterPolicy"],
|
|
30
|
+
* aws_iam_role_policy_attachment["example-AmazonEKSVPCResourceController"],
|
|
24
31
|
* ],
|
|
25
|
-
* }
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* export const kubeconfig_certificate_authority_data = example.certificateAuthority.apply(certificateAuthority => certificateAuthority.data);
|
|
32
|
+
* });
|
|
33
|
+
* const endpoint = example.endpoint;
|
|
34
|
+
* const kubeconfig_certificate_authority_data = example.certificateAuthority.apply(certificateAuthority => certificateAuthority.data);
|
|
35
|
+
* return {
|
|
36
|
+
* endpoint: endpoint,
|
|
37
|
+
* "kubeconfig-certificate-authority-data": kubeconfig_certificate_authority_data,
|
|
38
|
+
* };
|
|
39
|
+
* }
|
|
34
40
|
* ```
|
|
35
41
|
* ### Example IAM Role for EKS Cluster
|
|
36
42
|
*
|
package/eks/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../eks/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iF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AAyB,CAAC"}
|
package/eks/getAddonVersion.d.ts
CHANGED
|
@@ -8,22 +8,28 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as aws from "@pulumi/aws";
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
11
|
+
* export = async () => {
|
|
12
|
+
* const defaultAddonVersion = await aws.eks.getAddonVersion({
|
|
13
|
+
* addonName: "vpc-cni",
|
|
14
|
+
* kubernetesVersion: aws_eks_cluster.example.version,
|
|
15
|
+
* });
|
|
16
|
+
* const latestAddonVersion = await aws.eks.getAddonVersion({
|
|
17
|
+
* addonName: "vpc-cni",
|
|
18
|
+
* kubernetesVersion: aws_eks_cluster.example.version,
|
|
19
|
+
* mostRecent: true,
|
|
20
|
+
* });
|
|
21
|
+
* const vpcCni = new aws.eks.Addon("vpcCni", {
|
|
22
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
23
|
+
* addonName: "vpc-cni",
|
|
24
|
+
* addonVersion: latestAddonVersion.version,
|
|
25
|
+
* });
|
|
26
|
+
* const _default = defaultAddonVersion.version;
|
|
27
|
+
* const latest = latestAddonVersion.version;
|
|
28
|
+
* return {
|
|
29
|
+
* "default": _default,
|
|
30
|
+
* latest: latest,
|
|
31
|
+
* };
|
|
32
|
+
* }
|
|
27
33
|
* ```
|
|
28
34
|
*/
|
|
29
35
|
export declare function getAddonVersion(args: GetAddonVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetAddonVersionResult>;
|
package/eks/getAddonVersion.js
CHANGED
|
@@ -14,22 +14,28 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
17
|
+
* export = async () => {
|
|
18
|
+
* const defaultAddonVersion = await aws.eks.getAddonVersion({
|
|
19
|
+
* addonName: "vpc-cni",
|
|
20
|
+
* kubernetesVersion: aws_eks_cluster.example.version,
|
|
21
|
+
* });
|
|
22
|
+
* const latestAddonVersion = await aws.eks.getAddonVersion({
|
|
23
|
+
* addonName: "vpc-cni",
|
|
24
|
+
* kubernetesVersion: aws_eks_cluster.example.version,
|
|
25
|
+
* mostRecent: true,
|
|
26
|
+
* });
|
|
27
|
+
* const vpcCni = new aws.eks.Addon("vpcCni", {
|
|
28
|
+
* clusterName: aws_eks_cluster.example.name,
|
|
29
|
+
* addonName: "vpc-cni",
|
|
30
|
+
* addonVersion: latestAddonVersion.version,
|
|
31
|
+
* });
|
|
32
|
+
* const _default = defaultAddonVersion.version;
|
|
33
|
+
* const latest = latestAddonVersion.version;
|
|
34
|
+
* return {
|
|
35
|
+
* "default": _default,
|
|
36
|
+
* latest: latest,
|
|
37
|
+
* };
|
|
38
|
+
* }
|
|
33
39
|
* ```
|
|
34
40
|
*/
|
|
35
41
|
function getAddonVersion(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAddonVersion.js","sourceRoot":"","sources":["../../eks/getAddonVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getAddonVersion.js","sourceRoot":"","sources":["../../eks/getAddonVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAsCD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/eks/getCluster.d.ts
CHANGED
|
@@ -9,12 +9,19 @@ import { output as outputs } from "../types";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as aws from "@pulumi/aws";
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
12
|
+
* export = async () => {
|
|
13
|
+
* const example = await aws.eks.getCluster({
|
|
14
|
+
* name: "example",
|
|
15
|
+
* });
|
|
16
|
+
* const endpoint = example.endpoint;
|
|
17
|
+
* const kubeconfig_certificate_authority_data = example.certificateAuthorities?[0]?.data;
|
|
18
|
+
* const identity_oidc_issuer = example.identities?[0]?.oidcs?[0]?.issuer;
|
|
19
|
+
* return {
|
|
20
|
+
* endpoint: endpoint,
|
|
21
|
+
* "kubeconfig-certificate-authority-data": kubeconfig_certificate_authority_data,
|
|
22
|
+
* "identity-oidc-issuer": identity_oidc_issuer,
|
|
23
|
+
* };
|
|
24
|
+
* }
|
|
18
25
|
* ```
|
|
19
26
|
*/
|
|
20
27
|
export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>;
|
package/eks/getCluster.js
CHANGED
|
@@ -14,12 +14,19 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
17
|
+
* export = async () => {
|
|
18
|
+
* const example = await aws.eks.getCluster({
|
|
19
|
+
* name: "example",
|
|
20
|
+
* });
|
|
21
|
+
* const endpoint = example.endpoint;
|
|
22
|
+
* const kubeconfig_certificate_authority_data = example.certificateAuthorities?[0]?.data;
|
|
23
|
+
* const identity_oidc_issuer = example.identities?[0]?.oidcs?[0]?.issuer;
|
|
24
|
+
* return {
|
|
25
|
+
* endpoint: endpoint,
|
|
26
|
+
* "kubeconfig-certificate-authority-data": kubeconfig_certificate_authority_data,
|
|
27
|
+
* "identity-oidc-issuer": identity_oidc_issuer,
|
|
28
|
+
* };
|
|
29
|
+
* }
|
|
23
30
|
* ```
|
|
24
31
|
*/
|
|
25
32
|
function getCluster(args, opts) {
|
package/eks/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../eks/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../../eks/getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA+ED,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
|
@@ -18,7 +18,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
18
18
|
* // ...
|
|
19
19
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
20
20
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
21
|
-
* port:
|
|
21
|
+
* port: 443,
|
|
22
22
|
* protocol: "HTTPS",
|
|
23
23
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
24
24
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -37,7 +37,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
37
37
|
*
|
|
38
38
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
39
39
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
40
|
-
* port:
|
|
40
|
+
* port: 443,
|
|
41
41
|
* protocol: "TLS",
|
|
42
42
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
43
43
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -57,7 +57,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
57
57
|
* // ...
|
|
58
58
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
59
59
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
60
|
-
* port:
|
|
60
|
+
* port: 80,
|
|
61
61
|
* protocol: "HTTP",
|
|
62
62
|
* defaultActions: [{
|
|
63
63
|
* type: "redirect",
|
|
@@ -79,7 +79,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
79
79
|
* // ...
|
|
80
80
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
81
81
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
82
|
-
* port:
|
|
82
|
+
* port: 80,
|
|
83
83
|
* protocol: "HTTP",
|
|
84
84
|
* defaultActions: [{
|
|
85
85
|
* type: "fixed-response",
|
|
@@ -109,7 +109,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
109
109
|
* // ...
|
|
110
110
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
111
111
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
112
|
-
* port:
|
|
112
|
+
* port: 80,
|
|
113
113
|
* protocol: "HTTP",
|
|
114
114
|
* defaultActions: [
|
|
115
115
|
* {
|
|
@@ -139,7 +139,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
139
139
|
* // ...
|
|
140
140
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
141
141
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
142
|
-
* port:
|
|
142
|
+
* port: 80,
|
|
143
143
|
* protocol: "HTTP",
|
|
144
144
|
* defaultActions: [
|
|
145
145
|
* {
|
|
@@ -177,7 +177,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
177
177
|
* protocol: "GENEVE",
|
|
178
178
|
* vpcId: aws_vpc.example.id,
|
|
179
179
|
* healthCheck: {
|
|
180
|
-
* port: 80,
|
|
180
|
+
* port: "80",
|
|
181
181
|
* protocol: "HTTP",
|
|
182
182
|
* },
|
|
183
183
|
* });
|
|
@@ -23,7 +23,7 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* // ...
|
|
24
24
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
25
25
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
26
|
-
* port:
|
|
26
|
+
* port: 443,
|
|
27
27
|
* protocol: "HTTPS",
|
|
28
28
|
* sslPolicy: "ELBSecurityPolicy-2016-08",
|
|
29
29
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
@@ -42,7 +42,7 @@ const utilities = require("../utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* const frontEnd = new aws.lb.Listener("frontEnd", {
|
|
44
44
|
* loadBalancerArn: aws_lb.front_end.arn,
|
|
45
|
-
* port:
|
|
45
|
+
* port: 443,
|
|
46
46
|
* protocol: "TLS",
|
|
47
47
|
* certificateArn: "arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4",
|
|
48
48
|
* alpnPolicy: "HTTP2Preferred",
|
|
@@ -62,7 +62,7 @@ const utilities = require("../utilities");
|
|
|
62
62
|
* // ...
|
|
63
63
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
64
64
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
65
|
-
* port:
|
|
65
|
+
* port: 80,
|
|
66
66
|
* protocol: "HTTP",
|
|
67
67
|
* defaultActions: [{
|
|
68
68
|
* type: "redirect",
|
|
@@ -84,7 +84,7 @@ const utilities = require("../utilities");
|
|
|
84
84
|
* // ...
|
|
85
85
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
86
86
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
87
|
-
* port:
|
|
87
|
+
* port: 80,
|
|
88
88
|
* protocol: "HTTP",
|
|
89
89
|
* defaultActions: [{
|
|
90
90
|
* type: "fixed-response",
|
|
@@ -114,7 +114,7 @@ const utilities = require("../utilities");
|
|
|
114
114
|
* // ...
|
|
115
115
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
116
116
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
117
|
-
* port:
|
|
117
|
+
* port: 80,
|
|
118
118
|
* protocol: "HTTP",
|
|
119
119
|
* defaultActions: [
|
|
120
120
|
* {
|
|
@@ -144,7 +144,7 @@ const utilities = require("../utilities");
|
|
|
144
144
|
* // ...
|
|
145
145
|
* const frontEndListener = new aws.lb.Listener("frontEndListener", {
|
|
146
146
|
* loadBalancerArn: frontEndLoadBalancer.arn,
|
|
147
|
-
* port:
|
|
147
|
+
* port: 80,
|
|
148
148
|
* protocol: "HTTP",
|
|
149
149
|
* defaultActions: [
|
|
150
150
|
* {
|
|
@@ -182,7 +182,7 @@ const utilities = require("../utilities");
|
|
|
182
182
|
* protocol: "GENEVE",
|
|
183
183
|
* vpcId: aws_vpc.example.id,
|
|
184
184
|
* healthCheck: {
|
|
185
|
-
* port: 80,
|
|
185
|
+
* port: "80",
|
|
186
186
|
* protocol: "HTTP",
|
|
187
187
|
* },
|
|
188
188
|
* });
|