Skip to content

fix: propagate bucket_name/arn/region from build_context to link workflows#8

Merged
sebastiancorrea81 merged 1 commit into
mainfrom
fix/propagate-bucket-vars-to-link-workflows
Apr 29, 2026
Merged

fix: propagate bucket_name/arn/region from build_context to link workflows#8
sebastiancorrea81 merged 1 commit into
mainfrom
fix/propagate-bucket-vars-to-link-workflows

Conversation

@sebastiancorrea81

Copy link
Copy Markdown
Contributor

Summary

  • Adds BUCKET_NAME, BUCKET_ARN, and BUCKET_REGION as declared outputs of the build_context step in link.yaml, link-update.yaml, and unlink.yaml
  • Fixes the error bucket_name/bucket_arn not found in service attributes that occurred when running a link workflow because build_permissions_context couldn't find these values
  • Ensures these variables are explicitly propagated as environment variables to the build_permissions_context step

Test plan

  • Trigger a link action on a service that has an existing bucket — verify build_permissions_context no longer fails
  • Trigger a link-update action and confirm it completes successfully
  • Trigger an unlink action and confirm it completes successfully

🤖 Generated with Claude Code

…flows

Declare BUCKET_NAME, BUCKET_ARN, and BUCKET_REGION as outputs of the
build_context step in link, link-update, and unlink workflows so they
are available as environment variables for build_permissions_context,
which previously failed with "bucket_name/bucket_arn not found in
service attributes" when those values weren't in $CONTEXT.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sebastiancorrea81 sebastiancorrea81 merged commit 05965dd into main Apr 29, 2026
1 check passed
@sebastiancorrea81 sebastiancorrea81 deleted the fix/propagate-bucket-vars-to-link-workflows branch April 29, 2026 14:38
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