From f58787b8612498e884eca316ebb6258a70607c54 Mon Sep 17 00:00:00 2001 From: Renato Maia <1887792+renatomaia@users.noreply.github.com> Date: Wed, 2 Sep 2026 23:54:14 -0300 Subject: [PATCH] test(kms): add make target with environment for AWS KMS tests --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 452a3ba79..19e095b98 100644 --- a/Makefile +++ b/Makefile @@ -519,13 +519,14 @@ start-postgres: ## Run the PostgreSQL 16 docker container start-awslocalstack: ## Run the AWS LocalStack docker container @echo "Starting AWS localstack" @docker run --rm --name awslocalstack -p 127.0.0.1:4566:4566 -d -e SERVICES=kms localstack/localstack:4.14.0 - @echo "Add the following variables to run integration test with AWS services:" - @echo " export AWS_ACCESS_KEY_ID=test" - @echo " export AWS_SECRET_ACCESS_KEY=test" - @echo " export AWS_REGION=us-east-1" - @echo " export AWS_ENDPOINT_URL_KMS=http://localhost:4566" - @echo " export LOCALSTACK_KMS_ENDPOINT=http://localhost:4566" - @echo " export LOCALSTACK_KMS_REQUIRED=true" + +env-awslocalstack: + @echo export AWS_ACCESS_KEY_ID=test + @echo export AWS_SECRET_ACCESS_KEY=test + @echo export AWS_REGION=us-east-1 + @echo export AWS_ENDPOINT_URL_KMS=http://localhost:4566 + @echo export LOCALSTACK_KMS_ENDPOINT=http://localhost:4566 + @echo export LOCALSTACK_KMS_REQUIRED=true start: start-postgres start-devnet ## Start the anvil devnet and PostgreSQL 16 docker containers