Skip to content

Commit

Permalink
Merge branch 'master' into integ-tests/fix-disable-update-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Apr 26, 2022
2 parents 6754430 + 9f787a3 commit 62d7e89
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 41 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/issue-label-assign.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/issue-reprioritization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
issues: write
runs-on: ubuntu-latest
steps:
- uses: kaizen3031593/issue-reprioritization-manager@main
- uses: kaizencc/issue-reprioritization-manager@main
id: reprioritization-manager
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
original-label: p2
new-label: p1
reprioritization-threshold: 20
- uses: kaizen3031593/pr-triage-manager@main
- uses: kaizencc/pr-triage-manager@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
on-pulls: ${{ steps.reprioritization-manager.outputs.linked-pulls }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: kaizen3031593/pr-triage-manager@main
- uses: kaizencc/pr-triage-manager@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pull_request_rules:
label:
add: [ contribution/core ]
conditions:
- author~=^(eladb|RomainMuller|garnaat|nija-at|skinny85|rix0rrr|NGL321|Jerry-AWS|MrArnoldPalmer|NetaNir|iliapolo|njlynch|ericzbeard|ccfife|fulghum|pkandasamy91|SoManyHs|uttarasridhar|otaviomacedo|BenChaimberg|madeline-k|BryanPan342|kaizen3031593|comcalvi|Chriscbr|corymhall|peterwoodworth|ryparker|TheRealAmazonKendra|yuth)$
- author~=^(RomainMuller|garnaat|skinny85|rix0rrr|NGL321|Jerry-AWS|MrArnoldPalmer|iliapolo|pkandasamy91|SoManyHs|uttarasridhar|otaviomacedo|madeline-k|kaizencc|comcalvi|Chriscbr|corymhall|peterwoodworth|ryparker|TheRealAmazonKendra|yuth)$
- -label~="contribution/core"
- name: automatic merge
actions:
Expand Down
28 changes: 14 additions & 14 deletions packages/@aws-cdk/aws-rds/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,19 @@ interface DatabaseClusterBaseProps {
readonly storageEncrypted?: boolean

/**
* The KMS key for storage encryption.
* If specified, {@link storageEncrypted} will be set to `true`.
*
* @default - if storageEncrypted is true then the default master key, no key otherwise
*/
* The KMS key for storage encryption.
* If specified, {@link storageEncrypted} will be set to `true`.
*
* @default - if storageEncrypted is true then the default master key, no key otherwise
*/
readonly storageEncryptionKey?: kms.IKey;

/**
* Whether to copy tags to the snapshot when a snapshot is created.
*
* @default - true
*/
readonly copyTagsToSnapshot?: boolean;
}

/**
Expand Down Expand Up @@ -425,6 +432,8 @@ abstract class DatabaseClusterNew extends DatabaseClusterBase {
// Encryption
kmsKeyId: props.storageEncryptionKey?.keyArn,
storageEncrypted: props.storageEncryptionKey ? true : props.storageEncrypted,
// Tags
copyTagsToSnapshot: props.copyTagsToSnapshot ?? true,
};
}
}
Expand Down Expand Up @@ -501,13 +510,6 @@ export interface DatabaseClusterProps extends DatabaseClusterBaseProps {
* @default - A username of 'admin' (or 'postgres' for PostgreSQL) and SecretsManager-generated password
*/
readonly credentials?: Credentials;

/**
* Whether to copy tags to the snapshot when a snapshot is created.
*
* @default: true
*/
readonly copyTagsToSnapshot?: boolean;
}

/**
Expand Down Expand Up @@ -558,8 +560,6 @@ export class DatabaseCluster extends DatabaseClusterNew {
// Admin
masterUsername: credentials.username,
masterUserPassword: credentials.password?.unsafeUnwrap(),
// Tags
copyTagsToSnapshot: props.copyTagsToSnapshot ?? true,
});

this.clusterIdentifier = cluster.ref;
Expand Down
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-rds/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1997,6 +1997,7 @@ describe('cluster', () => {
VpcSecurityGroupIds: [{ 'Fn::GetAtt': ['DatabaseSecurityGroup5C91FDCB', 'GroupId'] }],
SnapshotIdentifier: 'mySnapshot',
EnableIAMDatabaseAuthentication: true,
CopyTagsToSnapshot: true,
},
DeletionPolicy: 'Snapshot',
UpdateReplacePolicy: 'Snapshot',
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-s3-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,11 @@ substituting it when its deployed to the destination with the actual value.

## Development

The custom resource is implemented in Python 3.6 in order to be able to leverage
The custom resource is implemented in Python 3.7 in order to be able to leverage
the AWS CLI for "aws s3 sync". The code is under [`lib/lambda`](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-s3-deployment/lib/lambda) and
unit tests are under [`test/lambda`](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-s3-deployment/test/lambda).

This package requires Python 3.6 during build time in order to create the custom
This package requires Python 3.7 during build time in order to create the custom
resource Lambda bundle and test it. It also relies on a few bash scripts, so
might be tricky to build on Windows.

Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-stepfunctions/lib/state-machine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface LogOptions {
/**
* Determines whether execution data is included in your log.
*
* @default true
* @default false
*/
readonly includeExecutionData?: boolean;

Expand Down

0 comments on commit 62d7e89

Please sign in to comment.