.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CW_METRICS_BEARER_TOKEN
secret
CloudWatch OTLP Endpoints — separate tokens for metrics and logs
CW_LOGS_BEARER_TOKEN
secret
CW_REGION
CW_LOG_GROUP
Product API (Lambda)
CW_LOG_STREAM
INVENTORY_SERVICE_URL
PRICING_SERVICE_URL
CROSS_CLOUD_API_KEY
secret
DEPLOYMENT_ENV
brew install flyctl && fly launch --from https://github.com/aws-samples/sample-cloudwatch-bearertoken-multicloud
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/aws-samples/sample-cloudwatch-bearertoken-multicloud
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/aws-samples/sample-cloudwatch-bearertoken-multicloud