Skip to content

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

@brnaba-aws

Description

@brnaba-aws

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions