Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

evzzk
Copy link
Contributor

@evzzk evzzk commented Sep 25, 2024

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 Medium test

This shell command depends on an uncontrolled
absolute path
.
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 Medium test

This shell command depends on an uncontrolled
absolute path
.
Copy link
Contributor

@rix0rrr rix0rrr left a comment

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
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
Copy link
Contributor Author

evzzk commented Sep 26, 2024

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

@evzzk evzzk closed this Sep 26, 2024
Copy link

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.

3 participants