Skip to content

regionis ignored in Cargo.toml #904

@Dgame

Description

@Dgame

I have the following configuration in my Cargo.toml:

[package.metadata.lambda.deploy]
region = "eu-central-1"

but when I deploy, it is ignored:

cargo lambda deploy --dry
πŸ” deployment for function `bootstrap`:
🏠 zip file located at ...
πŸ› οΈ  binary last compiled 3 days ago
πŸ—οΈ  architecture arm64
πŸ—ƒοΈ  files included in the zip file:
  - bootstrap
πŸ›«  AWS SDK configuration:
  - region: us-east-1

I have to specify the region as a CLI flag for it to be used:

cargo lambda deploy --dry --region eu-central-1
πŸ” deployment for function `bootstrap`:
🏠 zip file located at ...
πŸ› οΈ  binary last compiled 3 days ago
πŸ—οΈ  architecture arm64
πŸ—ƒοΈ  files included in the zip file:
  - bootstrap
πŸ›«  AWS SDK configuration:
  - region: eu-central-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions