@go-to-k/cdkd 0.3.4 → 0.3.5

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/dist/cli.js CHANGED
@@ -11033,11 +11033,14 @@ var LambdaFunctionProvider = class {
11033
11033
  // DescribeNetworkInterfaces (right after the update, the API can return
11034
11034
  // an empty list even though ENIs still exist).
11035
11035
  // - per-ENI retry budget: an in-use ENI cannot be deleted until AWS
11036
- // finishes the asynchronous detach; budget gives that time to land.
11036
+ // finishes the asynchronous detach. AWS's hyperplane ENI release is
11037
+ // eventually-consistent and can take 5-30 minutes in practice — the
11038
+ // budget here must cover that worst case so downstream Subnet/SG
11039
+ // deletes don't race ahead and fail with "has dependencies".
11037
11040
  // - retry interval: polling cadence inside the per-ENI loop.
11038
11041
  eniInitialSleepMs = 1e4;
11039
- eniDeleteRetryBudgetMs = 9e4;
11040
- eniDeleteRetryIntervalMs = 5e3;
11042
+ eniDeleteRetryBudgetMs = 30 * 60 * 1e3;
11043
+ eniDeleteRetryIntervalMs = 15e3;
11041
11044
  constructor() {
11042
11045
  const awsClients = getAwsClients();
11043
11046
  this.lambdaClient = awsClients.lambda;
@@ -27759,7 +27762,7 @@ function reorderArgs(argv) {
27759
27762
  }
27760
27763
  async function main() {
27761
27764
  const program = new Command8();
27762
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.3.4");
27765
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.3.5");
27763
27766
  program.addCommand(createBootstrapCommand());
27764
27767
  program.addCommand(createSynthCommand());
27765
27768
  program.addCommand(createDeployCommand());