@pulumi/awsx 2.5.0 → 2.7.0

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.
@@ -34,7 +34,7 @@ class NatGateway extends pulumi.ComponentResource {
34
34
  // traffic to the NAT gateway. This enables instances in your private subnets to
35
35
  // communicate with the internet.
36
36
  this.elasticIP = new aws.ec2.Eip(name, {
37
- vpc: true,
37
+ domain: "vpc",
38
38
  tags: { Name: name },
39
39
  }, { parent: this });
40
40
  const subnetId = subnet_1.Subnet.isSubnetInstance(args.subnet)
@@ -1 +1 @@
1
- {"version":3,"file":"natGateway.js","sourceRoot":"","sources":["../../../classic/ec2/natGateway.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,mCAAmC;AACnC,yCAAyC;AACzC,qCAA8E;AAK9E,MAAa,UACL,SAAQ,MAAM,CAAC,iBAAiB;IAUpC,YAAY,IAAY,EAAE,GAAQ,EAAE,IAA6C,EAAE,OAAwC,EAAE;QACzH,KAAK,CAAC,uBAAuB,EAAE,IAAI,EAAE,EAAE,kBAAI,MAAM,EAAE,GAAG,IAAK,IAAI,EAAG,CAAC;QAEnE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAE3B,IAAI,wBAAwB,CAAC,IAAI,CAAC,EAAE;YAChC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;SACrC;aACI;YACD,6EAA6E;YAC7E,EAAE;YACF,gFAAgF;YAChF,oFAAoF;YACpF,oFAAoF;YACpF,gFAAgF;YAChF,iCAAiC;YAEjC,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,CAAC,GAAG,C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E,IAAI,CAAC,UAAU,CAAC,EAAE;SACnC,CAAC;IACN,CAAC;CACJ;AAzDD,gCAyDC;AAkBD,SAAS,wBAAwB,CAAC,GAAQ;IACtC,OAAO,CAAC,CAA0B,GAAI,CAAC,UAAU,CAAC;AACtD,CAAC"}
package/ec2/vpc.d.ts CHANGED
@@ -42,7 +42,7 @@ import * as pulumiAws from "@pulumi/aws";
42
42
  *
43
43
  * ### Legacy
44
44
  *
45
- * The "Legacy" works similarly to the "Auto" strategy except that within each availability zone it allocates the private subnet first, followed by the private subnets, and lastly the isolated subnets. The order of subnet specifications of the same type can be changed, but the ordering of private, public, isolated is not overridable. For more flexibility we recommend moving to the "Auto" strategy. The output property `subnetLayout` shows the configuration required if specifying the "Auto" strategy to maintain the current layout.
45
+ * The "Legacy" works similarly to the "Auto" strategy except that within each availability zone it allocates the private subnet first, followed by the public subnets, and lastly the isolated subnets. The order of subnet specifications of the same type can be changed, but the ordering of private, public, isolated is not overridable. For more flexibility we recommend moving to the "Auto" strategy. The output property `subnetLayout` shows the configuration required if specifying the "Auto" strategy to maintain the current layout.
46
46
  */
47
47
  export declare class Vpc extends pulumi.ComponentResource {
48
48
  /**
package/ec2/vpc.js CHANGED
@@ -44,7 +44,7 @@ const utilities = require("../utilities");
44
44
  *
45
45
  * ### Legacy
46
46
  *
47
- * The "Legacy" works similarly to the "Auto" strategy except that within each availability zone it allocates the private subnet first, followed by the private subnets, and lastly the isolated subnets. The order of subnet specifications of the same type can be changed, but the ordering of private, public, isolated is not overridable. For more flexibility we recommend moving to the "Auto" strategy. The output property `subnetLayout` shows the configuration required if specifying the "Auto" strategy to maintain the current layout.
47
+ * The "Legacy" works similarly to the "Auto" strategy except that within each availability zone it allocates the private subnet first, followed by the public subnets, and lastly the isolated subnets. The order of subnet specifications of the same type can be changed, but the ordering of private, public, isolated is not overridable. For more flexibility we recommend moving to the "Auto" strategy. The output property `subnetLayout` shows the configuration required if specifying the "Auto" strategy to maintain the current layout.
48
48
  */
49
49
  class Vpc extends pulumi.ComponentResource {
50
50
  /**
package/ecr/image.d.ts CHANGED
@@ -48,10 +48,18 @@ export interface ImageArgs {
48
48
  * dockerfile may be used to override the default Dockerfile name and/or location. By default, it is assumed to be a file named Dockerfile in the root of the build context.
49
49
  */
50
50
  dockerfile?: pulumi.Input<string>;
51
+ /**
52
+ * Custom image tag for the resulting docker image. If omitted a random string will be used
53
+ */
54
+ imageTag?: pulumi.Input<string>;
51
55
  /**
52
56
  * The architecture of the platform you want to build this image for, e.g. `linux/arm64`.
53
57
  */
54
58
  platform?: pulumi.Input<string>;
59
+ /**
60
+ * ID of the ECR registry in which to store the image. If not provided, this will be inferred from the repository URL)
61
+ */
62
+ registryId?: pulumi.Input<string>;
55
63
  /**
56
64
  * Url of the repository
57
65
  */
package/ecr/image.js CHANGED
@@ -38,7 +38,9 @@ class Image extends pulumi.ComponentResource {
38
38
  resourceInputs["cacheFrom"] = args ? args.cacheFrom : undefined;
39
39
  resourceInputs["context"] = args ? args.context : undefined;
40
40
  resourceInputs["dockerfile"] = args ? args.dockerfile : undefined;
41
+ resourceInputs["imageTag"] = args ? args.imageTag : undefined;
41
42
  resourceInputs["platform"] = args ? args.platform : undefined;
43
+ resourceInputs["registryId"] = args ? args.registryId : undefined;
42
44
  resourceInputs["repositoryUrl"] = args ? args.repositoryUrl : undefined;
43
45
  resourceInputs["target"] = args ? args.target : undefined;
44
46
  resourceInputs["imageUri"] = undefined /*out*/;
package/ecr/image.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sourceRoot":"","sources":["../../ecr/image.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,iBAAiB;IAI/C;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YAC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,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC3E,CAAC;;AAlDL,sBAmDC;AAlDG,gBAAgB;AACO,kBAAY,GAAG,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/awsx",
3
- "version": "v2.5.0",
3
+ "version": "v2.7.0",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -13,12 +13,12 @@
13
13
  "license": "Apache-2.0",
14
14
  "scripts": {
15
15
  "build": "tsc",
16
- "install": "node scripts/install-pulumi-plugin.js resource awsx v2.5.0"
16
+ "install": "node scripts/install-pulumi-plugin.js resource awsx v2.7.0"
17
17
  },
18
18
  "dependencies": {
19
19
  "@aws-sdk/client-ecs": "^3.405.0",
20
20
  "@pulumi/aws": "^6.9.0",
21
- "@pulumi/docker": "^4.5.0",
21
+ "@pulumi/docker": "^4.5.1",
22
22
  "@pulumi/pulumi": "^3.0.0",
23
23
  "@types/aws-lambda": "^8.10.23",
24
24
  "aws-sdk": "^2.1450.0",
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/awsx",
3
- "version": "v2.5.0",
3
+ "version": "v2.7.0",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "aws",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@aws-sdk/client-ecs": "^3.405.0",
19
19
  "@pulumi/aws": "^6.9.0",
20
- "@pulumi/docker": "^4.5.0",
20
+ "@pulumi/docker": "^4.5.1",
21
21
  "@pulumi/pulumi": "^3.0.0",
22
22
  "@types/aws-lambda": "^8.10.23",
23
23
  "aws-sdk": "^2.1450.0",