@aws-cdk/integ-runner 2.186.2 → 2.186.3
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/recommended-feature-flags.json +1 -1
- package/lib/workers/extract/index.js +103 -35
- package/package.json +13 -13
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefault": true,
|
|
66
66
|
"@aws-cdk/aws-iam:oidcRejectUnauthorizedConnections": true,
|
|
67
67
|
"@aws-cdk/core:enableAdditionalMetadataCollection": true,
|
|
68
|
-
"@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy":
|
|
68
|
+
"@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy": false,
|
|
69
69
|
"@aws-cdk/aws-s3:setUniqueReplicationRoleName": true,
|
|
70
70
|
"@aws-cdk/aws-events:requireEventBusPolicySid": true,
|
|
71
71
|
"@aws-cdk/aws-dynamodb:retainTableReplica": true
|
|
@@ -5055,7 +5055,7 @@ var require_semver2 = __commonJS({
|
|
|
5055
5055
|
// ../cloud-assembly-schema/cli-version.json
|
|
5056
5056
|
var require_cli_version = __commonJS({
|
|
5057
5057
|
"../cloud-assembly-schema/cli-version.json"(exports2, module2) {
|
|
5058
|
-
module2.exports = { version: "
|
|
5058
|
+
module2.exports = { version: "2.1008.0" };
|
|
5059
5059
|
}
|
|
5060
5060
|
});
|
|
5061
5061
|
|
|
@@ -7513,7 +7513,7 @@ var require_cloud_artifact = __commonJS({
|
|
|
7513
7513
|
};
|
|
7514
7514
|
exports2.CloudArtifact = CloudArtifact;
|
|
7515
7515
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7516
|
-
CloudArtifact[_a] = { fqn: "@aws-cdk/cx-api.CloudArtifact", version: "2.
|
|
7516
|
+
CloudArtifact[_a] = { fqn: "@aws-cdk/cx-api.CloudArtifact", version: "2.189.0" };
|
|
7517
7517
|
}
|
|
7518
7518
|
});
|
|
7519
7519
|
|
|
@@ -7583,7 +7583,7 @@ var require_asset_manifest_artifact = __commonJS({
|
|
|
7583
7583
|
};
|
|
7584
7584
|
exports2.AssetManifestArtifact = AssetManifestArtifact;
|
|
7585
7585
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7586
|
-
AssetManifestArtifact[_a] = { fqn: "@aws-cdk/cx-api.AssetManifestArtifact", version: "2.
|
|
7586
|
+
AssetManifestArtifact[_a] = { fqn: "@aws-cdk/cx-api.AssetManifestArtifact", version: "2.189.0" };
|
|
7587
7587
|
Object.defineProperty(AssetManifestArtifact.prototype, ASSET_MANIFEST_ARTIFACT_SYM, {
|
|
7588
7588
|
value: true,
|
|
7589
7589
|
enumerable: false,
|
|
@@ -7631,7 +7631,7 @@ var require_environment2 = __commonJS({
|
|
|
7631
7631
|
};
|
|
7632
7632
|
exports2.EnvironmentUtils = EnvironmentUtils;
|
|
7633
7633
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7634
|
-
EnvironmentUtils[_a] = { fqn: "@aws-cdk/cx-api.EnvironmentUtils", version: "2.
|
|
7634
|
+
EnvironmentUtils[_a] = { fqn: "@aws-cdk/cx-api.EnvironmentUtils", version: "2.189.0" };
|
|
7635
7635
|
}
|
|
7636
7636
|
});
|
|
7637
7637
|
|
|
@@ -7737,7 +7737,7 @@ var require_cloudformation_artifact = __commonJS({
|
|
|
7737
7737
|
};
|
|
7738
7738
|
exports2.CloudFormationStackArtifact = CloudFormationStackArtifact;
|
|
7739
7739
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7740
|
-
CloudFormationStackArtifact[_a] = { fqn: "@aws-cdk/cx-api.CloudFormationStackArtifact", version: "2.
|
|
7740
|
+
CloudFormationStackArtifact[_a] = { fqn: "@aws-cdk/cx-api.CloudFormationStackArtifact", version: "2.189.0" };
|
|
7741
7741
|
Object.defineProperty(CloudFormationStackArtifact.prototype, CLOUDFORMATION_STACK_ARTIFACT_SYM, {
|
|
7742
7742
|
value: true,
|
|
7743
7743
|
enumerable: false,
|
|
@@ -7802,7 +7802,7 @@ var require_nested_cloud_assembly_artifact = __commonJS({
|
|
|
7802
7802
|
};
|
|
7803
7803
|
exports2.NestedCloudAssemblyArtifact = NestedCloudAssemblyArtifact;
|
|
7804
7804
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7805
|
-
NestedCloudAssemblyArtifact[_a] = { fqn: "@aws-cdk/cx-api.NestedCloudAssemblyArtifact", version: "2.
|
|
7805
|
+
NestedCloudAssemblyArtifact[_a] = { fqn: "@aws-cdk/cx-api.NestedCloudAssemblyArtifact", version: "2.189.0" };
|
|
7806
7806
|
Object.defineProperty(NestedCloudAssemblyArtifact.prototype, NESTED_CLOUD_ASSEMBLY_SYM, {
|
|
7807
7807
|
value: true,
|
|
7808
7808
|
enumerable: false,
|
|
@@ -7863,7 +7863,7 @@ var require_tree_cloud_artifact = __commonJS({
|
|
|
7863
7863
|
};
|
|
7864
7864
|
exports2.TreeCloudArtifact = TreeCloudArtifact;
|
|
7865
7865
|
_a = JSII_RTTI_SYMBOL_1;
|
|
7866
|
-
TreeCloudArtifact[_a] = { fqn: "@aws-cdk/cx-api.TreeCloudArtifact", version: "2.
|
|
7866
|
+
TreeCloudArtifact[_a] = { fqn: "@aws-cdk/cx-api.TreeCloudArtifact", version: "2.189.0" };
|
|
7867
7867
|
Object.defineProperty(TreeCloudArtifact.prototype, TREE_CLOUD_ARTIFACT_SYM, {
|
|
7868
7868
|
value: true,
|
|
7869
7869
|
enumerable: false,
|
|
@@ -8129,7 +8129,7 @@ var require_cloud_assembly = __commonJS({
|
|
|
8129
8129
|
};
|
|
8130
8130
|
exports2.CloudAssembly = CloudAssembly;
|
|
8131
8131
|
_a = JSII_RTTI_SYMBOL_1;
|
|
8132
|
-
CloudAssembly[_a] = { fqn: "@aws-cdk/cx-api.CloudAssembly", version: "2.
|
|
8132
|
+
CloudAssembly[_a] = { fqn: "@aws-cdk/cx-api.CloudAssembly", version: "2.189.0" };
|
|
8133
8133
|
var CloudAssemblyBuilder = class _CloudAssemblyBuilder {
|
|
8134
8134
|
/**
|
|
8135
8135
|
* Initializes a cloud assembly builder.
|
|
@@ -8223,7 +8223,7 @@ var require_cloud_assembly = __commonJS({
|
|
|
8223
8223
|
};
|
|
8224
8224
|
exports2.CloudAssemblyBuilder = CloudAssemblyBuilder;
|
|
8225
8225
|
_b = JSII_RTTI_SYMBOL_1;
|
|
8226
|
-
CloudAssemblyBuilder[_b] = { fqn: "@aws-cdk/cx-api.CloudAssemblyBuilder", version: "2.
|
|
8226
|
+
CloudAssemblyBuilder[_b] = { fqn: "@aws-cdk/cx-api.CloudAssemblyBuilder", version: "2.189.0" };
|
|
8227
8227
|
function filterUndefined(obj) {
|
|
8228
8228
|
if (Array.isArray(obj)) {
|
|
8229
8229
|
return obj.filter((x) => x !== void 0).map((x) => filterUndefined(x));
|
|
@@ -8352,7 +8352,7 @@ var require_features = __commonJS({
|
|
|
8352
8352
|
"use strict";
|
|
8353
8353
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8354
8354
|
exports2.LAMBDA_NODEJS_USE_LATEST_RUNTIME = exports2.ENABLE_OPENSEARCH_MULTIAZ_WITH_STANDBY = exports2.AUTOSCALING_GENERATE_LAUNCH_TEMPLATE = exports2.EFS_MOUNTTARGET_ORDERINSENSITIVE_LOGICAL_ID = exports2.EFS_DENY_ANONYMOUS_ACCESS = exports2.KMS_ALIAS_NAME_REF = exports2.INCLUDE_PREFIX_IN_UNIQUE_NAME_GENERATION = exports2.APIGATEWAY_REQUEST_VALIDATOR_UNIQUE_ID = exports2.EC2_RESTRICT_DEFAULT_SECURITY_GROUP = exports2.ENABLE_EMR_SERVICE_POLICY_V2 = exports2.REDSHIFT_COLUMN_ID = exports2.SECRETS_MANAGER_TARGET_ATTACHMENT_RESOURCE_POLICY = exports2.EC2_LAUNCH_TEMPLATE_DEFAULT_USER_DATA = exports2.APIGATEWAY_AUTHORIZER_CHANGE_DEPLOYMENT_LOGICAL_ID = exports2.CODEDEPLOY_REMOVE_ALARMS_FROM_DEPLOYMENT_GROUP = exports2.DATABASE_PROXY_UNIQUE_RESOURCE_NAME = exports2.AWS_CUSTOM_RESOURCE_LATEST_SDK_DEFAULT = exports2.ROUTE53_PATTERNS_USE_CERTIFICATE = exports2.S3_SERVER_ACCESS_LOGS_USE_BUCKET_POLICY = exports2.ECS_DISABLE_EXPLICIT_DEPLOYMENT_CONTROLLER_FOR_CIRCUIT_BREAKER = exports2.EVENTS_TARGET_QUEUE_SAME_ACCOUNT = exports2.ENABLE_PARTITION_LITERALS = exports2.APIGATEWAY_DISABLE_CLOUDWATCH_ROLE = exports2.SNS_SUBSCRIPTIONS_SQS_DECRYPTION_POLICY = exports2.S3_CREATE_DEFAULT_LOGGING_POLICY = exports2.CODEPIPELINE_CROSS_ACCOUNT_KEY_ALIAS_STACK_SAFE_RESOURCE_NAME = exports2.VALIDATE_SNAPSHOT_REMOVAL_POLICY = exports2.IAM_IMPORTED_ROLE_STACK_SAFE_DEFAULT_POLICY_NAME = exports2.IAM_MINIMIZE_POLICIES = exports2.ECS_ARN_FORMAT_INCLUDES_CLUSTER_NAME = exports2.EC2_UNIQUE_IMDSV2_LAUNCH_TEMPLATE_NAME = exports2.ECS_SERVICE_EXTENSIONS_ENABLE_DEFAULT_LOG_DRIVER = exports2.TARGET_PARTITIONS = exports2.CHECK_SECRET_USAGE = exports2.CLOUDFRONT_DEFAULT_SECURITY_POLICY_TLS_V1_2_2021 = exports2.LAMBDA_RECOGNIZE_LAYER_VERSION = exports2.LAMBDA_RECOGNIZE_VERSION_PROPS = exports2.EFS_DEFAULT_ENCRYPTION_AT_REST = exports2.APIGATEWAY_USAGEPLANKEY_ORDERINSENSITIVE_ID = exports2.RDS_LOWERCASE_DB_IDENTIFIER = exports2.ECS_REMOVE_DEFAULT_DESIRED_COUNT = exports2.S3_GRANT_WRITE_WITHOUT_ACL = exports2.KMS_DEFAULT_KEY_POLICIES = exports2.SECRETS_MANAGER_PARSE_OWNED_SECRET_NAME = exports2.DOCKER_IGNORE_SUPPORT = exports2.STACK_RELATIVE_EXPORTS_CONTEXT = exports2.NEW_STYLE_STACK_SYNTHESIS_CONTEXT = exports2.ENABLE_DIFF_NO_FAIL = exports2.ENABLE_DIFF_NO_FAIL_CONTEXT = exports2.ENABLE_STACK_NAME_DUPLICATES_CONTEXT = void 0;
|
|
8355
|
-
exports2.NEW_PROJECT_DEFAULT_CONTEXT = exports2.FUTURE_FLAGS = exports2.FUTURE_FLAGS_EXPIRED = exports2.CURRENT_VERSION_FLAG_DEFAULTS = exports2.CURRENTLY_RECOMMENDED_FLAGS = exports2.CURRENT_VERSION_EXPIRED_FLAGS = exports2.FLAGS = exports2.LOG_USER_POOL_CLIENT_SECRET_VALUE = exports2.DYNAMODB_TABLE_RETAIN_TABLE_REPLICA = exports2.EVENTBUS_POLICY_SID_REQUIRED = exports2.PIPELINE_REDUCE_STAGE_ROLE_TRUST_SCOPE = exports2.SET_UNIQUE_REPLICATION_ROLE_NAME = exports2.LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY = exports2.ENABLE_ADDITIONAL_METADATA_COLLECTION = exports2.IAM_OIDC_REJECT_UNAUTHORIZED_CONNECTIONS = exports2.ALB_DUALSTACK_WITHOUT_PUBLIC_IPV4_SECURITY_GROUP_RULES_DEFAULT = exports2.Disable_ECS_IMDS_Blocking = exports2.Enable_IMDS_Blocking_Deprecated_Feature = exports2.USER_POOL_DOMAIN_NAME_METHOD_WITHOUT_CUSTOM_RESOURCE = exports2.ASPECT_STABILIZATION = exports2.BASTION_HOST_USE_AMAZON_LINUX_2023_BY_DEFAULT = exports2.STEPFUNCTIONS_TASKS_FIX_RUN_ECS_TASK_POLICY = exports2.LAMBDA_NODEJS_SDK_V3_EXCLUDE_SMITHY_PACKAGES = exports2.CFN_INCLUDE_REJECT_COMPLEX_RESOURCE_UPDATE_CREATE_POLICY_INTRINSICS = exports2.USE_CORRECT_VALUE_FOR_INSTANCE_RESOURCE_ID_PROPERTY = exports2.APPSYNC_GRAPHQLAPI_SCOPE_LAMBDA_FUNCTION_PERMISSION = exports2.EC2_SUM_TIMEOUT_ENABLED = exports2.DYNAMODB_TABLEV2_RESOURCE_POLICY_PER_REPLICA = exports2.REDUCE_EC2_FARGATE_CLOUDWATCH_PERMISSIONS = exports2.USE_NEW_S3URI_PARAMETERS_FOR_BEDROCK_INVOKE_MODEL_TASK = exports2.S3_KEEP_NOTIFICATION_IN_IMPORTED_BUCKET = exports2.LOG_API_RESPONSE_DATA_PROPERTY_TRUE_DEFAULT = exports2.ECS_REMOVE_DEFAULT_DEPLOYMENT_ALARM = exports2.EBS_DEFAULT_GP3 = exports2.EKS_NODEGROUP_NAME = exports2.PIPELINE_REDUCE_ASSET_ROLE_TRUST_SCOPE = exports2.KMS_REDUCE_CROSS_ACCOUNT_REGION_POLICY_SCOPE = exports2.CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2 = exports2.CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE = exports2.LAMBDA_PERMISSION_LOGICAL_ID_FOR_LAMBDA_ACTION = exports2.CODECOMMIT_SOURCE_ACTION_DEFAULT_BRANCH_NAME = exports2.APPSYNC_ENABLE_USE_ARN_IDENTIFIER_SOURCE_API_ASSOCIATION = exports2.AURORA_CLUSTER_CHANGE_SCOPE_OF_INSTANCE_PARAMETER_GROUP_WITH_EACH_PARAMETERS = exports2.RDS_PREVENT_RENDERING_DEPRECATED_CREDENTIALS = void 0;
|
|
8355
|
+
exports2.NEW_PROJECT_DEFAULT_CONTEXT = exports2.FUTURE_FLAGS = exports2.FUTURE_FLAGS_EXPIRED = exports2.CURRENT_VERSION_FLAG_DEFAULTS = exports2.CURRENTLY_RECOMMENDED_FLAGS = exports2.CURRENT_VERSION_EXPIRED_FLAGS = exports2.FLAGS = exports2.PIPELINE_REDUCE_CROSS_ACCOUNT_ACTION_ROLE_TRUST_SCOPE = exports2.LOG_USER_POOL_CLIENT_SECRET_VALUE = exports2.DYNAMODB_TABLE_RETAIN_TABLE_REPLICA = exports2.EVENTBUS_POLICY_SID_REQUIRED = exports2.PIPELINE_REDUCE_STAGE_ROLE_TRUST_SCOPE = exports2.SET_UNIQUE_REPLICATION_ROLE_NAME = exports2.LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY = exports2.ENABLE_ADDITIONAL_METADATA_COLLECTION = exports2.IAM_OIDC_REJECT_UNAUTHORIZED_CONNECTIONS = exports2.ALB_DUALSTACK_WITHOUT_PUBLIC_IPV4_SECURITY_GROUP_RULES_DEFAULT = exports2.Disable_ECS_IMDS_Blocking = exports2.Enable_IMDS_Blocking_Deprecated_Feature = exports2.USER_POOL_DOMAIN_NAME_METHOD_WITHOUT_CUSTOM_RESOURCE = exports2.ASPECT_STABILIZATION = exports2.BASTION_HOST_USE_AMAZON_LINUX_2023_BY_DEFAULT = exports2.STEPFUNCTIONS_TASKS_FIX_RUN_ECS_TASK_POLICY = exports2.LAMBDA_NODEJS_SDK_V3_EXCLUDE_SMITHY_PACKAGES = exports2.CFN_INCLUDE_REJECT_COMPLEX_RESOURCE_UPDATE_CREATE_POLICY_INTRINSICS = exports2.USE_CORRECT_VALUE_FOR_INSTANCE_RESOURCE_ID_PROPERTY = exports2.APPSYNC_GRAPHQLAPI_SCOPE_LAMBDA_FUNCTION_PERMISSION = exports2.EC2_SUM_TIMEOUT_ENABLED = exports2.DYNAMODB_TABLEV2_RESOURCE_POLICY_PER_REPLICA = exports2.REDUCE_EC2_FARGATE_CLOUDWATCH_PERMISSIONS = exports2.USE_NEW_S3URI_PARAMETERS_FOR_BEDROCK_INVOKE_MODEL_TASK = exports2.S3_KEEP_NOTIFICATION_IN_IMPORTED_BUCKET = exports2.LOG_API_RESPONSE_DATA_PROPERTY_TRUE_DEFAULT = exports2.ECS_REMOVE_DEFAULT_DEPLOYMENT_ALARM = exports2.EBS_DEFAULT_GP3 = exports2.EKS_NODEGROUP_NAME = exports2.PIPELINE_REDUCE_ASSET_ROLE_TRUST_SCOPE = exports2.KMS_REDUCE_CROSS_ACCOUNT_REGION_POLICY_SCOPE = exports2.CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2 = exports2.CODEPIPELINE_CROSS_ACCOUNT_KEYS_DEFAULT_VALUE_TO_FALSE = exports2.LAMBDA_PERMISSION_LOGICAL_ID_FOR_LAMBDA_ACTION = exports2.CODECOMMIT_SOURCE_ACTION_DEFAULT_BRANCH_NAME = exports2.APPSYNC_ENABLE_USE_ARN_IDENTIFIER_SOURCE_API_ASSOCIATION = exports2.AURORA_CLUSTER_CHANGE_SCOPE_OF_INSTANCE_PARAMETER_GROUP_WITH_EACH_PARAMETERS = exports2.RDS_PREVENT_RENDERING_DEPRECATED_CREDENTIALS = void 0;
|
|
8356
8356
|
exports2.futureFlagDefault = futureFlagDefault;
|
|
8357
8357
|
var flag_modeling_1 = require_flag_modeling();
|
|
8358
8358
|
exports2.ENABLE_STACK_NAME_DUPLICATES_CONTEXT = "@aws-cdk/core:enableStackNameDuplicates";
|
|
@@ -8442,6 +8442,7 @@ var require_features = __commonJS({
|
|
|
8442
8442
|
exports2.EVENTBUS_POLICY_SID_REQUIRED = "@aws-cdk/aws-events:requireEventBusPolicySid";
|
|
8443
8443
|
exports2.DYNAMODB_TABLE_RETAIN_TABLE_REPLICA = "@aws-cdk/aws-dynamodb:retainTableReplica";
|
|
8444
8444
|
exports2.LOG_USER_POOL_CLIENT_SECRET_VALUE = "@aws-cdk/cognito:logUserPoolClientSecretValue";
|
|
8445
|
+
exports2.PIPELINE_REDUCE_CROSS_ACCOUNT_ACTION_ROLE_TRUST_SCOPE = "@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope";
|
|
8445
8446
|
exports2.FLAGS = {
|
|
8446
8447
|
//////////////////////////////////////////////////////////////////////
|
|
8447
8448
|
[exports2.ENABLE_STACK_NAME_DUPLICATES_CONTEXT]: {
|
|
@@ -9623,14 +9624,17 @@ var require_features = __commonJS({
|
|
|
9623
9624
|
//////////////////////////////////////////////////////////////////////
|
|
9624
9625
|
[exports2.LAMBDA_CREATE_NEW_POLICIES_WITH_ADDTOROLEPOLICY]: {
|
|
9625
9626
|
type: flag_modeling_1.FlagType.BugFix,
|
|
9626
|
-
summary: "When enabled, Lambda will create new inline policies with AddToRolePolicy instead of adding to the Default Policy Statement",
|
|
9627
|
+
summary: "[Deprecated] When enabled, Lambda will create new inline policies with AddToRolePolicy instead of adding to the Default Policy Statement",
|
|
9627
9628
|
detailsMd: `
|
|
9628
|
-
When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
|
|
9629
|
+
[Deprecated default feature] When this feature flag is enabled, Lambda will create new inline policies with AddToRolePolicy.
|
|
9629
9630
|
The purpose of this is to prevent lambda from creating a dependency on the Default Policy Statement.
|
|
9630
9631
|
This solves an issue where a circular dependency could occur if adding lambda to something like a Cognito Trigger, then adding the User Pool to the lambda execution role permissions.
|
|
9632
|
+
However in the current implementation, we have removed a dependency of the lambda function on the policy. In addition to this, a Role will be attached to the Policy instead of an inline policy being attached to the role.
|
|
9633
|
+
This will create a data race condition in the CloudFormation template because the creation of the Lambda function no longer waits for the policy to be created. Having said that, we are not deprecating the feature (we are defaulting the feature flag to false for new stacks) since this feature can still be used to get around the circular dependency issue (issue-7016) particularly in cases where the lambda resource creation doesnt need to depend on the policy resource creation.
|
|
9634
|
+
We recommend to unset the feature flag if already set which will restore the original behavior.
|
|
9631
9635
|
`,
|
|
9632
9636
|
introducedIn: { v2: "2.180.0" },
|
|
9633
|
-
recommendedValue:
|
|
9637
|
+
recommendedValue: false
|
|
9634
9638
|
},
|
|
9635
9639
|
//////////////////////////////////////////////////////////////////////
|
|
9636
9640
|
[exports2.SET_UNIQUE_REPLICATION_ROLE_NAME]: {
|
|
@@ -9651,6 +9655,9 @@ var require_features = __commonJS({
|
|
|
9651
9655
|
detailsMd: `
|
|
9652
9656
|
When this feature flag is enabled, the root account principal will not be added to the trust policy of stage role.
|
|
9653
9657
|
When this feature flag is disabled, it will keep the root account principal in the trust policy.
|
|
9658
|
+
|
|
9659
|
+
For cross-account cases, when this feature flag is enabled the trust policy will be scoped to the role only.
|
|
9660
|
+
If you are providing a custom role, you will need to ensure 'roleName' is specified or set to PhysicalName.GENERATE_IF_NEEDED.
|
|
9654
9661
|
`,
|
|
9655
9662
|
introducedIn: { v2: "2.184.0" },
|
|
9656
9663
|
defaults: { v2: true },
|
|
@@ -9705,6 +9712,20 @@ var require_features = __commonJS({
|
|
|
9705
9712
|
defaults: { v2: false },
|
|
9706
9713
|
recommendedValue: false,
|
|
9707
9714
|
compatibilityWithOldBehaviorMd: "Enable the feature flag to keep the old behavior and log the client secret values"
|
|
9715
|
+
},
|
|
9716
|
+
//////////////////////////////////////////////////////////////////////
|
|
9717
|
+
[exports2.PIPELINE_REDUCE_CROSS_ACCOUNT_ACTION_ROLE_TRUST_SCOPE]: {
|
|
9718
|
+
type: flag_modeling_1.FlagType.ApiDefault,
|
|
9719
|
+
summary: "When enabled, scopes down the trust policy for the cross-account action role",
|
|
9720
|
+
detailsMd: `
|
|
9721
|
+
When this feature flag is enabled, the trust policy of the cross-account action role will be scoped to the pipeline role.
|
|
9722
|
+
If you are providing a custom role, you will need to ensure 'roleName' is specified or set to PhysicalName.GENERATE_IF_NEEDED.
|
|
9723
|
+
When this feature flag is disabled, it will keep the root account principal in the trust policy.
|
|
9724
|
+
`,
|
|
9725
|
+
introducedIn: { v2: "2.189.0" },
|
|
9726
|
+
defaults: { v2: true },
|
|
9727
|
+
recommendedValue: true,
|
|
9728
|
+
compatibilityWithOldBehaviorMd: "Disable the feature flag to add the root account principal back"
|
|
9708
9729
|
}
|
|
9709
9730
|
};
|
|
9710
9731
|
var CURRENT_MV = "v2";
|
|
@@ -9821,7 +9842,7 @@ var require_placeholders = __commonJS({
|
|
|
9821
9842
|
};
|
|
9822
9843
|
exports2.EnvironmentPlaceholders = EnvironmentPlaceholders;
|
|
9823
9844
|
_a = JSII_RTTI_SYMBOL_1;
|
|
9824
|
-
EnvironmentPlaceholders[_a] = { fqn: "@aws-cdk/cx-api.EnvironmentPlaceholders", version: "2.
|
|
9845
|
+
EnvironmentPlaceholders[_a] = { fqn: "@aws-cdk/cx-api.EnvironmentPlaceholders", version: "2.189.0" };
|
|
9825
9846
|
EnvironmentPlaceholders.CURRENT_REGION = "${AWS::Region}";
|
|
9826
9847
|
EnvironmentPlaceholders.CURRENT_ACCOUNT = "${AWS::AccountId}";
|
|
9827
9848
|
EnvironmentPlaceholders.CURRENT_PARTITION = "${AWS::Partition}";
|
|
@@ -12806,7 +12827,7 @@ var init_recommended_feature_flags = __esm({
|
|
|
12806
12827
|
_aws_cdk_aws_elasticloadbalancingV2_albDualstackWithoutPublicIpv4SecurityGroupRulesDefault = true;
|
|
12807
12828
|
_aws_cdk_aws_iam_oidcRejectUnauthorizedConnections = true;
|
|
12808
12829
|
_aws_cdk_core_enableAdditionalMetadataCollection = true;
|
|
12809
|
-
_aws_cdk_aws_lambda_createNewPoliciesWithAddToRolePolicy =
|
|
12830
|
+
_aws_cdk_aws_lambda_createNewPoliciesWithAddToRolePolicy = false;
|
|
12810
12831
|
_aws_cdk_aws_s3_setUniqueReplicationRoleName = true;
|
|
12811
12832
|
_aws_cdk_aws_events_requireEventBusPolicySid = true;
|
|
12812
12833
|
_aws_cdk_aws_dynamodb_retainTableReplica = true;
|
|
@@ -20075,14 +20096,14 @@ var require_templates = __commonJS({
|
|
|
20075
20096
|
}
|
|
20076
20097
|
return results;
|
|
20077
20098
|
}
|
|
20078
|
-
function buildStyle(
|
|
20099
|
+
function buildStyle(chalk8, styles) {
|
|
20079
20100
|
const enabled = {};
|
|
20080
20101
|
for (const layer of styles) {
|
|
20081
20102
|
for (const style of layer.styles) {
|
|
20082
20103
|
enabled[style[0]] = layer.inverse ? null : style.slice(1);
|
|
20083
20104
|
}
|
|
20084
20105
|
}
|
|
20085
|
-
let current =
|
|
20106
|
+
let current = chalk8;
|
|
20086
20107
|
for (const [styleName, styles2] of Object.entries(enabled)) {
|
|
20087
20108
|
if (!Array.isArray(styles2)) {
|
|
20088
20109
|
continue;
|
|
@@ -20094,7 +20115,7 @@ var require_templates = __commonJS({
|
|
|
20094
20115
|
}
|
|
20095
20116
|
return current;
|
|
20096
20117
|
}
|
|
20097
|
-
module2.exports = (
|
|
20118
|
+
module2.exports = (chalk8, temporary) => {
|
|
20098
20119
|
const styles = [];
|
|
20099
20120
|
const chunks2 = [];
|
|
20100
20121
|
let chunk = [];
|
|
@@ -20104,13 +20125,13 @@ var require_templates = __commonJS({
|
|
|
20104
20125
|
} else if (style) {
|
|
20105
20126
|
const string = chunk.join("");
|
|
20106
20127
|
chunk = [];
|
|
20107
|
-
chunks2.push(styles.length === 0 ? string : buildStyle(
|
|
20128
|
+
chunks2.push(styles.length === 0 ? string : buildStyle(chalk8, styles)(string));
|
|
20108
20129
|
styles.push({ inverse, styles: parseStyle(style) });
|
|
20109
20130
|
} else if (close) {
|
|
20110
20131
|
if (styles.length === 0) {
|
|
20111
20132
|
throw new Error("Found extraneous } in Chalk template literal");
|
|
20112
20133
|
}
|
|
20113
|
-
chunks2.push(buildStyle(
|
|
20134
|
+
chunks2.push(buildStyle(chalk8, styles)(chunk.join("")));
|
|
20114
20135
|
chunk = [];
|
|
20115
20136
|
styles.pop();
|
|
20116
20137
|
} else {
|
|
@@ -20158,16 +20179,16 @@ var require_source = __commonJS({
|
|
|
20158
20179
|
}
|
|
20159
20180
|
};
|
|
20160
20181
|
var chalkFactory = (options) => {
|
|
20161
|
-
const
|
|
20162
|
-
applyOptions(
|
|
20163
|
-
|
|
20164
|
-
Object.setPrototypeOf(
|
|
20165
|
-
Object.setPrototypeOf(
|
|
20166
|
-
|
|
20182
|
+
const chalk9 = {};
|
|
20183
|
+
applyOptions(chalk9, options);
|
|
20184
|
+
chalk9.template = (...arguments_) => chalkTag(chalk9.template, ...arguments_);
|
|
20185
|
+
Object.setPrototypeOf(chalk9, Chalk.prototype);
|
|
20186
|
+
Object.setPrototypeOf(chalk9.template, chalk9);
|
|
20187
|
+
chalk9.template.constructor = () => {
|
|
20167
20188
|
throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
|
|
20168
20189
|
};
|
|
20169
|
-
|
|
20170
|
-
return
|
|
20190
|
+
chalk9.template.Instance = ChalkClass;
|
|
20191
|
+
return chalk9.template;
|
|
20171
20192
|
};
|
|
20172
20193
|
function Chalk(options) {
|
|
20173
20194
|
return chalkFactory(options);
|
|
@@ -20278,7 +20299,7 @@ var require_source = __commonJS({
|
|
|
20278
20299
|
return openAll + string + closeAll;
|
|
20279
20300
|
};
|
|
20280
20301
|
var template;
|
|
20281
|
-
var chalkTag = (
|
|
20302
|
+
var chalkTag = (chalk9, ...strings) => {
|
|
20282
20303
|
const [firstString] = strings;
|
|
20283
20304
|
if (!isArray(firstString) || !isArray(firstString.raw)) {
|
|
20284
20305
|
return strings.join(" ");
|
|
@@ -20294,14 +20315,14 @@ var require_source = __commonJS({
|
|
|
20294
20315
|
if (template === void 0) {
|
|
20295
20316
|
template = require_templates();
|
|
20296
20317
|
}
|
|
20297
|
-
return template(
|
|
20318
|
+
return template(chalk9, parts.join(""));
|
|
20298
20319
|
};
|
|
20299
20320
|
Object.defineProperties(Chalk.prototype, styles);
|
|
20300
|
-
var
|
|
20301
|
-
|
|
20302
|
-
|
|
20303
|
-
|
|
20304
|
-
module2.exports =
|
|
20321
|
+
var chalk8 = Chalk();
|
|
20322
|
+
chalk8.supportsColor = stdoutColor;
|
|
20323
|
+
chalk8.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
20324
|
+
chalk8.stderr.supportsColor = stderrColor;
|
|
20325
|
+
module2.exports = chalk8;
|
|
20305
20326
|
}
|
|
20306
20327
|
});
|
|
20307
20328
|
|
|
@@ -31564,6 +31585,52 @@ var init_format = __esm({
|
|
|
31564
31585
|
}
|
|
31565
31586
|
});
|
|
31566
31587
|
|
|
31588
|
+
// ../cloudformation-diff/lib/mappings.ts
|
|
31589
|
+
var mappings_exports = {};
|
|
31590
|
+
__export(mappings_exports, {
|
|
31591
|
+
formatAmbiguousMappings: () => formatAmbiguousMappings,
|
|
31592
|
+
formatTypedMappings: () => formatTypedMappings
|
|
31593
|
+
});
|
|
31594
|
+
function formatTypedMappings(stream, mappings) {
|
|
31595
|
+
const header = [["Resource Type", "Old Construct Path", "New Construct Path"]];
|
|
31596
|
+
const rows = mappings.map((m) => [m.type, m.sourcePath, m.destinationPath]);
|
|
31597
|
+
const formatter = new Formatter(stream, {});
|
|
31598
|
+
if (mappings.length > 0) {
|
|
31599
|
+
formatter.printSectionHeader("The following resources were moved or renamed:");
|
|
31600
|
+
formatter.print(chalk7.green(formatTable(header.concat(rows), void 0)));
|
|
31601
|
+
} else {
|
|
31602
|
+
formatter.print("Nothing to refactor.");
|
|
31603
|
+
}
|
|
31604
|
+
}
|
|
31605
|
+
function formatAmbiguousMappings(stream, pairs) {
|
|
31606
|
+
const tables = pairs.map(renderTable);
|
|
31607
|
+
const formatter = new Formatter(stream, {});
|
|
31608
|
+
formatter.printSectionHeader("Ambiguous Resource Name Changes");
|
|
31609
|
+
formatter.print(tables.join("\n\n"));
|
|
31610
|
+
formatter.printSectionFooter();
|
|
31611
|
+
function renderTable([removed, added]) {
|
|
31612
|
+
return formatTable([["", "Resource"], renderRemoval(removed), renderAddition(added)], void 0);
|
|
31613
|
+
}
|
|
31614
|
+
function renderRemoval(locations) {
|
|
31615
|
+
return [chalk7.red("-"), chalk7.red(renderLocations(locations))];
|
|
31616
|
+
}
|
|
31617
|
+
function renderAddition(locations) {
|
|
31618
|
+
return [chalk7.green("+"), chalk7.green(renderLocations(locations))];
|
|
31619
|
+
}
|
|
31620
|
+
function renderLocations(locs) {
|
|
31621
|
+
return locs.join("\n");
|
|
31622
|
+
}
|
|
31623
|
+
}
|
|
31624
|
+
var chalk7;
|
|
31625
|
+
var init_mappings = __esm({
|
|
31626
|
+
"../cloudformation-diff/lib/mappings.ts"() {
|
|
31627
|
+
"use strict";
|
|
31628
|
+
chalk7 = __toESM(require_source());
|
|
31629
|
+
init_format();
|
|
31630
|
+
init_format_table();
|
|
31631
|
+
}
|
|
31632
|
+
});
|
|
31633
|
+
|
|
31567
31634
|
// ../cloudformation-diff/lib/index.js
|
|
31568
31635
|
var require_lib9 = __commonJS({
|
|
31569
31636
|
"../cloudformation-diff/lib/index.js"(exports2) {
|
|
@@ -31589,6 +31656,7 @@ var require_lib9 = __commonJS({
|
|
|
31589
31656
|
__exportStar2((init_diff_template(), __toCommonJS(diff_template_exports)), exports2);
|
|
31590
31657
|
__exportStar2((init_format(), __toCommonJS(format_exports)), exports2);
|
|
31591
31658
|
__exportStar2((init_format_table(), __toCommonJS(format_table_exports)), exports2);
|
|
31659
|
+
__exportStar2((init_mappings(), __toCommonJS(mappings_exports)), exports2);
|
|
31592
31660
|
var util_1 = (init_util(), __toCommonJS(util_exports));
|
|
31593
31661
|
Object.defineProperty(exports2, "deepEqual", { enumerable: true, get: function() {
|
|
31594
31662
|
return util_1.deepEqual;
|
package/package.json
CHANGED
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@types/yargs": "^17.0.33",
|
|
46
46
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
47
47
|
"@typescript-eslint/parser": "^8",
|
|
48
|
-
"aws-cdk-lib": "^2.
|
|
48
|
+
"aws-cdk-lib": "^2.189.0",
|
|
49
49
|
"commit-and-tag-version": "^12",
|
|
50
50
|
"constructs": "^10",
|
|
51
51
|
"eslint": "^9",
|
|
52
|
-
"eslint-config-prettier": "^10.1.
|
|
53
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
52
|
+
"eslint-config-prettier": "^10.1.2",
|
|
53
|
+
"eslint-import-resolver-typescript": "^4.3.2",
|
|
54
54
|
"eslint-plugin-import": "^2.31.0",
|
|
55
55
|
"eslint-plugin-jest": "^28.11.0",
|
|
56
56
|
"eslint-plugin-jsdoc": "^50.6.9",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"license-checker": "^25.0.1",
|
|
61
61
|
"mock-fs": "^5",
|
|
62
62
|
"prettier": "^2.8",
|
|
63
|
-
"projen": "^0.91.
|
|
64
|
-
"ts-jest": "^29.3.
|
|
63
|
+
"projen": "^0.91.20",
|
|
64
|
+
"ts-jest": "^29.3.2",
|
|
65
65
|
"typescript": "5.6",
|
|
66
|
-
"@aws-cdk/aws-service-spec": "^0.1.
|
|
66
|
+
"@aws-cdk/aws-service-spec": "^0.1.67",
|
|
67
67
|
"@aws-cdk/cdk-cli-wrapper": "0.0.0",
|
|
68
|
-
"@aws-cdk/cloud-assembly-schema": "43.
|
|
69
|
-
"@aws-cdk/cloudformation-diff": "2.
|
|
70
|
-
"@aws-cdk/cx-api": "^2.
|
|
68
|
+
"@aws-cdk/cloud-assembly-schema": ">=43.2.0",
|
|
69
|
+
"@aws-cdk/cloudformation-diff": "2.181.0",
|
|
70
|
+
"@aws-cdk/cx-api": "^2.189.0",
|
|
71
71
|
"@aws-sdk/client-cloudformation": "^3",
|
|
72
|
-
"aws-cdk": "
|
|
72
|
+
"aws-cdk": "2.1008.0",
|
|
73
73
|
"cdk-assets": "3.2.0",
|
|
74
74
|
"chalk": "^4",
|
|
75
75
|
"chokidar": "^3",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"yargs": "^16"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aws-cdk/aws-service-spec": "0.1.
|
|
82
|
-
"aws-cdk": "
|
|
81
|
+
"@aws-cdk/aws-service-spec": "0.1.67",
|
|
82
|
+
"aws-cdk": "2.1008.0"
|
|
83
83
|
},
|
|
84
84
|
"keywords": [
|
|
85
85
|
"aws",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"publishConfig": {
|
|
95
95
|
"access": "public"
|
|
96
96
|
},
|
|
97
|
-
"version": "2.186.
|
|
97
|
+
"version": "2.186.3",
|
|
98
98
|
"types": "lib/index.d.ts",
|
|
99
99
|
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\".",
|
|
100
100
|
"optionalDependencies": {
|