cdk-real-drift 0.18.6 → 0.18.8

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
@@ -2600,7 +2600,8 @@ const KNOWN_DEFAULTS = {
2600
2600
  AquaConfigurationStatus: "auto",
2601
2601
  MaintenanceTrackName: "current",
2602
2602
  KmsKeyId: "AWS_OWNED_KMS_KEY",
2603
- NumberOfNodes: 1
2603
+ NumberOfNodes: 1,
2604
+ ClusterSubnetGroupName: "default"
2604
2605
  },
2605
2606
  "AWS::Redshift::ScheduledAction": { Enable: true },
2606
2607
  "AWS::EC2::VPCEndpoint": {
@@ -2925,12 +2926,22 @@ const KNOWN_DEFAULTS = {
2925
2926
  const KNOWN_DEFAULT_ONE_OF = {
2926
2927
  "AWS::ApiGatewayV2::Integration": { TimeoutInMillis: [29e3, 3e4] },
2927
2928
  "AWS::SecurityHub::Hub": { ControlFindingGenerator: ["SECURITY_CONTROL", "STANDARD_CONTROL"] },
2928
- "AWS::Glue::Job": { Timeout: [2880, 480] }
2929
+ "AWS::Glue::Job": { Timeout: [2880, 480] },
2930
+ "AWS::OpenSearchService::Domain": { DomainEndpointOptions: [{
2931
+ CustomEndpointEnabled: false,
2932
+ EnforceHTTPS: false,
2933
+ TLSSecurityPolicy: "Policy-Min-TLS-1-2-2019-07"
2934
+ }, {
2935
+ CustomEndpointEnabled: false,
2936
+ EnforceHTTPS: false,
2937
+ TLSSecurityPolicy: "Policy-Min-TLS-1-0-2019-07"
2938
+ }] }
2929
2939
  };
2930
2940
  const KNOWN_DEFAULT_ONE_OF_PATHS = {
2931
2941
  "AWS::EKS::Cluster": { "KubernetesNetworkConfig.ServiceIpv4Cidr": ["10.100.0.0/16", "172.20.0.0/16"] },
2932
2942
  "AWS::S3::Bucket": { "LifecycleConfiguration.TransitionDefaultMinimumObjectSize": ["all_storage_classes_128K", "varies_by_storage_class"] },
2933
- "AWS::Batch::ComputeEnvironment": { "ComputeResources.Ec2Configuration": [[{ ImageType: "ECS_AL2023" }], [{ ImageType: "ECS_AL2" }]] }
2943
+ "AWS::Batch::ComputeEnvironment": { "ComputeResources.Ec2Configuration": [[{ ImageType: "ECS_AL2023" }], [{ ImageType: "ECS_AL2" }]] },
2944
+ "AWS::OpenSearchService::Domain": { "EBSOptions.VolumeType": ["gp3", "gp2"] }
2934
2945
  };
2935
2946
  const KNOWN_DEFAULT_PATHS = {
2936
2947
  "AWS::IoT::TopicRule": { "TopicRulePayload.AwsIotSqlVersion": "2015-10-08" },
@@ -3090,7 +3101,8 @@ const KNOWN_DEFAULT_PATHS = {
3090
3101
  "AWS::Synthetics::Canary": { "Schedule.RetryConfig": { MaxRetries: 0 } },
3091
3102
  "AWS::OpenSearchService::Domain": {
3092
3103
  "EBSOptions.Iops": 3e3,
3093
- "EBSOptions.Throughput": 125
3104
+ "EBSOptions.Throughput": 125,
3105
+ "ClusterConfig.ZoneAwarenessConfig": { AvailabilityZoneCount: 2 }
3094
3106
  },
3095
3107
  "AWS::KinesisFirehose::DeliveryStream": {
3096
3108
  "ExtendedS3DestinationConfiguration.S3BackupMode": "Disabled",
@@ -3265,7 +3277,9 @@ const ENGINE_DEFAULTS = {
3265
3277
  AllocatedStorage: (e) => e.startsWith("aurora") ? 1 : void 0,
3266
3278
  Port: rdsDefaultPort,
3267
3279
  LicenseModel: rdsDefaultLicense,
3268
- CharacterSetName: (e) => /sqlserver/.test(e) ? "SQL_Latin1_General_CP1_CI_AS" : void 0
3280
+ CharacterSetName: (e) => /sqlserver/.test(e) ? "SQL_Latin1_General_CP1_CI_AS" : /oracle/.test(e) ? "AL32UTF8" : void 0,
3281
+ NcharCharacterSetName: (e) => /oracle/.test(e) ? "AL16UTF16" : void 0,
3282
+ DBName: (e) => /oracle/.test(e) ? "ORCL" : void 0
3269
3283
  },
3270
3284
  "AWS::RDS::DBCluster": {
3271
3285
  StorageType: (e) => e.startsWith("aurora") ? "aurora" : void 0,
@@ -3589,7 +3603,7 @@ const VALUE_INDEPENDENT_DEFAULT_TOPLEVEL_PATHS = {
3589
3603
  "AvailabilityZone",
3590
3604
  "ClusterVersion"
3591
3605
  ]),
3592
- "AWS::OpenSearchService::Domain": new Set(["OffPeakWindowOptions"]),
3606
+ "AWS::OpenSearchService::Domain": new Set(["OffPeakWindowOptions", "EngineVersion"]),
3593
3607
  "AWS::AmazonMQ::Broker": new Set(["MaintenanceWindowStartTime", "SubnetIds"]),
3594
3608
  "AWS::EC2::InstanceConnectEndpoint": new Set(["SecurityGroupIds"]),
3595
3609
  "AWS::EC2::EIPAssociation": new Set(["PrivateIpAddress", "EIP"]),
@@ -3891,6 +3905,7 @@ const CASE_INSENSITIVE_PATHS = {
3891
3905
  "AWS::Neptune::DBClusterParameterGroup": new Set(["Name"]),
3892
3906
  "AWS::DocDB::DBClusterParameterGroup": new Set(["Name"]),
3893
3907
  "AWS::Redshift::ClusterParameterGroup": new Set(["ParameterGroupName"]),
3908
+ "AWS::Redshift::Cluster": new Set(["ClusterIdentifier"]),
3894
3909
  "AWS::DMS::ReplicationInstance": new Set(["ReplicationInstanceIdentifier"]),
3895
3910
  "AWS::DMS::ReplicationSubnetGroup": new Set(["ReplicationSubnetGroupIdentifier"]),
3896
3911
  "AWS::DMS::Endpoint": new Set(["EndpointType", "EndpointIdentifier"]),
@@ -18681,6 +18696,11 @@ const REVERT_SET_DEFAULT_PATHS = new Set([
18681
18696
  "AWS::EKS::Cluster\0ResourcesVpcConfig.EndpointPrivateAccess",
18682
18697
  "AWS::RDS::DBInstance\0AutoMinorVersionUpgrade",
18683
18698
  "AWS::RDS::DBInstance\0BackupRetentionPeriod",
18699
+ "AWS::RDS::DBInstance\0MultiAZ",
18700
+ "AWS::RDS::DBInstance\0EnablePerformanceInsights",
18701
+ "AWS::RDS::DBInstance\0MonitoringInterval",
18702
+ "AWS::RDS::DBInstance\0CopyTagsToSnapshot",
18703
+ "AWS::RDS::DBInstance\0CACertificateIdentifier",
18684
18704
  "AWS::RDS::DBCluster\0AutoMinorVersionUpgrade",
18685
18705
  "AWS::Neptune::DBInstance\0AutoMinorVersionUpgrade",
18686
18706
  "AWS::ElastiCache::CacheCluster\0AutoMinorVersionUpgrade",
@@ -20372,7 +20392,7 @@ async function revertStack(p) {
20372
20392
  const key = `${item.logicalId}\0${dotted}`;
20373
20393
  if (!preActual.has(key)) continue;
20374
20394
  const pre = preActual.get(key);
20375
- const post0 = post.find((f) => f.logicalId === item.logicalId && f.path === dotted && !isDrift(f));
20395
+ const post0 = post.find((f) => f.logicalId === item.logicalId && f.path === dotted && !isDrift(f) && f.tier !== "readGap");
20376
20396
  const persisted = post0 !== void 0 && deepEqual(post0.actual, pre);
20377
20397
  if (op.op === "remove" ? persisted : persisted && !deepEqual(post0.actual, op.value)) noOpRemovals.push({
20378
20398
  displayId: item.displayId,