@openhi/constructs 0.0.148 → 0.0.150

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/lib/index.mjs CHANGED
@@ -2494,6 +2494,7 @@ var _OpenHiDataService = class _OpenHiDataService extends OpenHiService {
2494
2494
  dataEventBus: OpenHiGlobalService.dataEventBusFromConstruct(this)
2495
2495
  }
2496
2496
  );
2497
+ const isReleaseBranch = this.branchName === this.defaultReleaseBranch;
2497
2498
  this.dataStorePostgresReplica = new DataStorePostgresReplica(
2498
2499
  this,
2499
2500
  "data-store-postgres-replica",
@@ -2501,7 +2502,8 @@ var _OpenHiDataService = class _OpenHiDataService extends OpenHiService {
2501
2502
  kinesisStream: this.dataStoreChangeStream,
2502
2503
  removalPolicy: this.removalPolicy,
2503
2504
  stackHash: this.stackHash,
2504
- branchHash: this.branchHash
2505
+ branchHash: this.branchHash,
2506
+ minCapacity: isReleaseBranch ? 1 : 0
2505
2507
  }
2506
2508
  );
2507
2509
  this.seedSystemDataWorkflow = this.createSeedSystemDataWorkflow();