Skip to content

Conversation

@nija-at
Copy link
Contributor

@nija-at nija-at commented Feb 8, 2021

This is a follow up to - 31b1b32.

Unit tests in the aws-s3 and aws-glue modules assert
resources generated by KMS.

The '@aws-cdk/aws-kms:defaultKeyPolicies' feature flag will be
reset in CDKv2. Update the necessary tests so that they continue
to work when this happens.

Two course of actions are taken here - some tests needed to
be made more 'precise' in their assertions, and others had to be
configured to only run in CDKv1.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

This is a follow up to - 31b1b32.

Unit tests in the S3 module assert resources generated by KMS.

With the '@aws-cdk/aws-kms:defaultKeyPolicies' feature flag being reset
as part of CDKv2, these tests need to be updated accordingly.
@nija-at nija-at requested review from a team and njlynch February 8, 2021 14:56
@nija-at nija-at self-assigned this Feb 8, 2021
@gitpod-io
Copy link

gitpod-io bot commented Feb 8, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Feb 8, 2021
@github-actions github-actions bot added the @aws-cdk/aws-s3 Related to Amazon S3 label Feb 8, 2021
@nija-at nija-at requested a review from iliapolo February 8, 2021 14:58
@nija-at nija-at changed the title chore(s3): prepare tests for feature flag expiry chore(s3,glue): prepare tests for feature flag expiry Feb 8, 2021
@nija-at nija-at added @aws-cdk/aws-glue Related to AWS Glue pr/do-not-merge This PR should not be merged at this time. labels Feb 8, 2021
@nija-at nija-at marked this pull request as draft February 8, 2021 17:31
@nija-at nija-at changed the title chore(s3,glue): prepare tests for feature flag expiry chore: prepare tests to expire feature flag 'kms:defaultKeyPolicies' Feb 9, 2021
@nija-at nija-at removed the request for review from iliapolo February 9, 2021 14:01
@nija-at nija-at added @aws-cdk/aws-kinesis Related to Amazon Kinesis and removed pr/do-not-merge This PR should not be merged at this time. labels Feb 9, 2021
@nija-at nija-at marked this pull request as ready for review February 9, 2021 14:17
@nija-at nija-at requested a review from njlynch February 9, 2021 14:17
@aws aws deleted a comment from aws-cdk-automation Feb 9, 2021
@mergify
Copy link
Contributor

mergify bot commented Feb 9, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Feb 10, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 8396ee9
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Feb 10, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 21f4d53 into master Feb 10, 2021
@mergify mergify bot deleted the nija-at/s3-kmskey branch February 10, 2021 11:17
NovakGu pushed a commit to NovakGu/aws-cdk that referenced this pull request Feb 18, 2021
…ws#12922)

This is a follow up to - 31b1b32.

Unit tests in the `aws-s3` and `aws-glue` modules assert
resources generated by KMS.

The '@aws-cdk/aws-kms:defaultKeyPolicies' feature flag will be
reset in CDKv2. Update the necessary tests so that they continue
to work when this happens.

Two course of actions are taken here - some tests needed to
be made more 'precise' in their assertions, and others had to be
configured to only run in CDKv1.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-glue Related to AWS Glue @aws-cdk/aws-kinesis Related to Amazon Kinesis @aws-cdk/aws-s3 Related to Amazon S3 contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants