Skip to content

fix: Pull bucket id from bucket resources #325

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toneill818
Copy link

Description

Use the id of the s3 bucket or the directory bucket instead of the policy.

Motivation and Context

When attaching a policy after the bucket creation, any resource dependent on the output s3_bucket_id will show needing modified and possibly destroyed and recreated. This change will use the bucket resources directly to determine the bucket id instead of reading the policy first.

Breaking Changes

How Has This Been Tested?

  • [ No Changes ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • [ X ] I have tested and validated these changes using one or more of the provided examples/* projects
  • [ X ] I have executed pre-commit run -a on my pull request

@toneill818 toneill818 changed the title fix: pull bucket id from bucket resources fix: Pull bucket id from bucket resources Apr 24, 2025
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