Skip to content

docs: change s3 bucket physical names to use amazon owned s3 buckets - #31561

Closed
evzzk wants to merge 4 commits into
aws:mainfrom
evzzk:evzz-docs-update-s3-bucket-physical-names
Closed

evzzk wants to merge 4 commits into
aws:mainfrom
evzzk:evzz-docs-update-s3-bucket-physical-names

Conversation

@evzzk

@evzzk evzzk commented Sep 25, 2024

Copy link
Copy Markdown
Contributor

Issue # (if applicable)

Closes #.

Reason for this change

By using Amazon owned s3 bucket physical names, we remove the possibility of documenting customer owned buckets in our examples.

Description of changes

Change physical S3 bucket names such as my-bucket to Amazon owned ones such as amzn-s3-demo-bucket.

Description of how you validated changes

Checklist


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

@github-actions github-actions Bot added p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Sep 25, 2024
@aws-cdk-automation
aws-cdk-automation requested a review from a team September 25, 2024 20:38
await (0, archive_1.zipDirectory)(originalDir, zipFile, logger);
// unzip and verify that the resulting tree is the same
await exec(`unzip ${zipFile}`, { cwd: extractDir });
await expect(exec(`diff -bur ${originalDir} ${extractDir}`)).resolves.toBeTruthy();

Check warning

Code scanning / CodeQL

Shell command built from environment values

This shell command depends on an uncontrolled [absolute path](1).
const zipFile = path.join(stagingDir, 'output.zip');
await expect((0, archive_1.zipDirectory)(originalDir, zipFile, logger)).resolves.toBeUndefined();
await expect(exec(`unzip ${zipFile}`, { cwd: extractDir })).resolves.toBeDefined();
await expect(exec(`diff -bur ${originalDir} ${extractDir}`)).resolves.toBeDefined();

Check warning

Code scanning / CodeQL

Shell command built from environment values

This shell command depends on an uncontrolled [absolute path](1).

@rix0rrr rix0rrr 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.

You have checked in new files that are build results, like .jsii and *.js and *.d.ts.

I think you might have had an old checkout of CDK lying around containing 2 packages that have gotten moved, packages/@aws-cdk/cloud-asembly-schema and packages/cdk-assets.

All those files need to be removed from this PR.

@mergify
mergify Bot dismissed rix0rrr’s stale review September 26, 2024 14:45

Pull request has been modified.

@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: cbca0f3
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@evzzk

evzzk commented Sep 26, 2024

Copy link
Copy Markdown
Contributor Author

Closing. Will resubmit with unwanted files removed from being accidentally added.

@evzzk evzzk closed this Sep 26, 2024
@github-actions

Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants