Skip to content

chore(codepipeline): enforce SSL on implicitly-created S3 buckets#18268

Merged
mergify[bot] merged 12 commits intoaws:masterfrom
PatMyron:patch-1
Jan 6, 2022
Merged

chore(codepipeline): enforce SSL on implicitly-created S3 buckets#18268
mergify[bot] merged 12 commits intoaws:masterfrom
PatMyron:patch-1

Conversation

@PatMyron
Copy link
Copy Markdown
Contributor

@PatMyron PatMyron commented Jan 5, 2022

#18283

could pass another bucket, but automatically created buckets are convenient/popular, so worth improving defaults

https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codepipeline.Pipeline.html
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.Bucket.html


# updated integ snapshots
packages/@aws-cdk/aws-events-targets $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run
packages/@aws-cdk/aws-codepipeline-actions $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run
packages/@aws-cdk/pipelines $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run

# eslint fix
/workspace/aws-cdk/node_modules/eslint/bin/eslint.js packages/@aws-cdk/aws-codepipeline-actions/test/ --ext=.ts --fix

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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jan 5, 2022

@github-actions github-actions bot added the @aws-cdk/aws-codepipeline Related to AWS CodePipeline label Jan 5, 2022
@PatMyron PatMyron changed the title chore(codepipeline): enforceSSL on pipeline s3 artifactsBucket chore(codepipeline): enforceSSL on pipeline s3 buckets Jan 5, 2022
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @PatMyron, but you will also need to update some tests (in this case, in the @aws-cdk/aws-events-targets package, but there are probably more of these).

@PatMyron PatMyron requested a review from skinny85 January 5, 2022 03:43
@mergify mergify bot dismissed skinny85’s stale review January 5, 2022 03:43

Pull request has been modified.

@PatMyron PatMyron marked this pull request as draft January 5, 2022 05:31
@PatMyron PatMyron marked this pull request as ready for review January 6, 2022 02:33
@PatMyron
Copy link
Copy Markdown
Contributor Author

PatMyron commented Jan 6, 2022

@skinny85 finally tracked down all the tests to update :)

Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PatMyron thank you for working on this! I admire your tenacity in updating all of these tests 🙇.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 6, 2022

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).

@skinny85 skinny85 changed the title chore(codepipeline): enforceSSL on pipeline s3 buckets chore(codepipeline): enforceSSL on implicitly-created S3 buckets Jan 6, 2022
@skinny85 skinny85 changed the title chore(codepipeline): enforceSSL on implicitly-created S3 buckets chore(codepipeline): enforce SSL on implicitly-created S3 buckets Jan 6, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 6, 2022

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 9da0780 into aws:master Jan 6, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jan 6, 2022

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
Copy Markdown
Collaborator

AWS CodeBuild CI Report

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

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

@PatMyron PatMyron deleted the patch-1 branch January 6, 2022 21:57
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
…s#18268)

could pass another bucket, but automatically created buckets are convenient/popular, so worth improving defaults

https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-codepipeline.Pipeline.html
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-s3.Bucket.html

---

```sh
# updated integ snapshots
packages/@aws-cdk/aws-events-targets $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run
packages/@aws-cdk/aws-codepipeline-actions $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run
packages/@aws-cdk/pipelines $ /workspace/aws-cdk/tools/\@aws-cdk/cdk-integ-tools/bin/cdk-integ --dry-run
```

---

```sh
# eslint fix
/workspace/aws-cdk/node_modules/eslint/bin/eslint.js packages/@aws-cdk/aws-codepipeline-actions/test/ --ext=.ts --fix
```

----

*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-codepipeline Related to AWS CodePipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants