Skip to content

Use shared prereq bucket in tutorials that create S3 buckets#47

Merged
mwunderl merged 1 commit intomainfrom
feature/shared-bucket
Apr 24, 2026
Merged

Use shared prereq bucket in tutorials that create S3 buckets#47
mwunderl merged 1 commit intomainfrom
feature/shared-bucket

Conversation

@mwunderl
Copy link
Copy Markdown
Contributor

7 tutorials updated to check for the tutorial-prereqs-bucket CloudFormation stack before creating their own S3 bucket.

Tutorials updated:

  • 003-s3-gettingstarted
  • 005-cloudfront-gettingstarted
  • 028-sagemaker-featurestore
  • 037-emr-gs
  • 053-aws-config-gs
  • 061-amazon-athena-gs
  • 074-amazon-textract-gs

Behavior:

  • If stack exists → uses the shared bucket, skips bucket deletion in cleanup
  • If stack doesn't exist → creates its own bucket (original behavior)

Tested both paths.

7 tutorials updated to check for tutorial-prereqs-bucket CFN stack.
If available, uses the shared bucket instead of creating one.
Skips bucket deletion in cleanup when using shared bucket.
Falls back to creating its own bucket if stack doesn't exist.

Tested: detection works with and without the stack deployed.
@mwunderl mwunderl merged commit 46502af into main Apr 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant