Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
34 stars 8 forks source link

Use feature flag in lambda http #89

Closed demeringo closed 2 years ago

demeringo commented 2 years ago

Problem

Reduce compile time

Solution

We only deploy using REST API gateway, so we can make use of lambda_http feature flags https://github.com/awslabs/aws-lambda-rust-runtime#feature-flags-in-lambda_http

[dependencies.lambda_http]
version = "0.6"
default-features = false
features = ["apigw_rest"]

Alternatives

Additional context or elements

demeringo commented 2 years ago

We need to support elastic load balancer too (which means adding also the alb feature flag).