dcl-ops-lib 5.24.3 → 5.25.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.
@@ -51,6 +51,7 @@ export declare type FargateTaskOptions = {
51
51
  volumes?: aws.types.input.ecs.TaskDefinitionVolume[] | pulumi.Input<aws.types.input.ecs.TaskDefinitionVolume[]>;
52
52
  deregistrationDelay?: pulumi.Input<number>;
53
53
  mountPoints?: pulumi.Input<aws.ecs.MountPoint[]>;
54
+ repositoryCredentials?: pulumi.Input<aws.ecs.RepositoryCredentials>;
54
55
  };
55
56
  /**
56
57
  *
@@ -109,7 +109,7 @@ exports.getFargateTaskRole = getFargateTaskRole;
109
109
  */
110
110
  function createFargateTask(serviceName, dockerImage, dockerListeningPort, environment, hostname, options) {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
- let { healthCheck, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, team, } = options;
112
+ let { healthCheck, essential, dontExpose, securityGroups, cluster, memoryReservation, command, version, desiredCount, cpuReservation, extraPortMappings, extraALBMappings, executionRolePolicies, taskRolePolicies, ignoreServiceDiscovery, secrets, metrics, dontAssignPublicIp, dependsOn, volumes, deregistrationDelay, mountPoints, repositoryCredentials, team, } = options;
113
113
  if (undefined === essential) {
114
114
  essential = true;
115
115
  }
@@ -212,6 +212,7 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
212
212
  portMappings: extraPortMappings,
213
213
  dockerLabels,
214
214
  mountPoints,
215
+ repositoryCredentials
215
216
  },
216
217
  dependsOn,
217
218
  volumes,
@@ -252,6 +253,7 @@ function createFargateTask(serviceName, dockerImage, dockerListeningPort, enviro
252
253
  cpu: cpuReservation,
253
254
  dockerLabels,
254
255
  mountPoints,
256
+ repositoryCredentials
255
257
  },
256
258
  dependsOn,
257
259
  volumes,
package/lambda.js CHANGED
@@ -116,12 +116,14 @@ function configureApiGatewayDomain(fullyQualifiedDomainName, gateway) {
116
116
  const webDomain = new aws.apigateway.DomainName((0, stack_1.getStackScopedName)(subdomain + "-dn"), {
117
117
  certificateArn: (0, certificate_1.getCertificateFor)(fullyQualifiedDomainName),
118
118
  domainName: fullyQualifiedDomainName,
119
+ }, {
120
+ deleteBeforeReplace: true,
119
121
  });
120
122
  const webDomainMapping = new aws.apigateway.BasePathMapping((0, stack_1.getStackScopedName)(subdomain + "-bpm"), {
121
123
  restApi: gateway.restAPI,
122
124
  stageName: gateway.stage.stageName,
123
125
  domainName: webDomain.id,
124
- });
126
+ }, { dependsOn: [webDomain], deleteBeforeReplace: true });
125
127
  const hostedZone = yield aws.route53.getZone({ name: domainParts.parentDomain }, { async: true });
126
128
  const record = new aws.route53.Record((0, stack_1.getStackScopedName)(fullyQualifiedDomainName), {
127
129
  name: domainParts.subdomain || "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-ops-lib",
3
- "version": "5.24.3",
3
+ "version": "5.25.2",
4
4
  "scripts": {
5
5
  "build": "tsc && cp bin/* . && node test.js",
6
6
  "clean": "rm *.d.ts *.js *.js.map"