TEST: Init Test Harness Using Localstack
Build, Push and Deploy CMS / build-push-deploy (push) Successful in 2m40s
Deploy Infrastructure / pulumi-up (push) Failing after 35s

This commit is contained in:
FahdShalhoub
2026-08-26 20:03:02 +03:00
parent 9d7e1825f1
commit 4303f005bd
6 changed files with 457 additions and 312 deletions
+25
View File
@@ -0,0 +1,25 @@
# 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 <bucket>.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"