# The LocalStack target for the same program that deploys production. Nothing # here changes what the code does except thamanyah:localstack — every AWS # endpoint override lives in the aws:* provider config, which the AWS provider # reads on its own. # # localhost.localstack.cloud resolves to 127.0.0.1 in public DNS, and # docker-compose.yml also publishes it as a network alias for the localstack # container — so this one endpoint works whether pulumi runs on the host or as # the compose "infra" service. config: aws:region: us-east-1 aws:accessKey: test aws:secretKey: test aws:skipCredentialsValidation: "true" aws:skipRequestingAccountId: "true" aws:skipMetadataApiCheck: "true" # Virtual-host addressing would resolve .localhost.localstack.cloud, # which points at 127.0.0.1 — the wrong container from inside compose. aws:s3UsePathStyle: "true" aws:endpoints: - iam: http://localhost.localstack.cloud:4566 rds: http://localhost.localstack.cloud:4566 s3: http://localhost.localstack.cloud:4566 sts: http://localhost.localstack.cloud:4566 thamanyah:localstack: "true" encryptionsalt: v1:QKoqcSNBvDc=:v1:bTGZko5jHuGNRVoq:2oQ4pFb8MYwspEbxipYeO+rVqVnLBg==