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

(gdk component publish): publish config not taken into account when running gdk component publish #289

Open
brnaba-aws opened this issue Nov 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@brnaba-aws
Copy link

Describe the bug
in gdk-config.json, there is the possibility to set a bucket and region json object:

"publish": {
        "bucket": "my-bucket",
        "region": "us-east-1"
      }

when running gdk component publish, it fails with this error:

Failed to create the bucket 'my-bucket-us-east-1-0123456789012' in region 'us-east-1'

To Reproduce
Use the above publish config and run. gdk component publish

Expected behavior
bucket and region should be used not formatted from bucket, region and account id

Workaround
run gdk component publish with args e.g:

gdk component publish --bucket my-bucket --region us-east-1
@brnaba-aws brnaba-aws added the bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@brnaba-aws and others