Skip to content

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

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

mergify[bot] merged 12 commits into
aws:masterfrom
PatMyron:patch-1

Conversation

@PatMyron

@PatMyron PatMyron commented Jan 5, 2022 •

Copy link
Copy Markdown
Contributor

#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

gitpod-io Bot commented Jan 5, 2022

Copy link
Copy Markdown

@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

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

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

PatMyron commented Jan 6, 2022 •

Copy link
Copy Markdown
Contributor Author

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

@skinny85 skinny85 left a comment

Copy link
Copy Markdown
Contributor

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

mergify Bot commented Jan 6, 2022

Copy link
Copy Markdown
Contributor

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

mergify Bot commented Jan 6, 2022

Copy link
Copy Markdown
Contributor

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

mergify Bot commented Jan 6, 2022

Copy link
Copy Markdown
Contributor

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*
ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
…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