From 7743a052c2bc7e80ed8b02feee6f4af0ad5b9a61 Mon Sep 17 00:00:00 2001 From: Daniel Lindsley Date: Mon, 1 Dec 2025 11:20:05 -0600 Subject: [PATCH 1/2] chore: Moved to `.envrc.example` file. --- {{copier__project_name}}/.envrc.example | 3 +++ {{copier__project_name}}/.gitignore | 3 +++ {{copier__project_name}}/Makefile | 1 + 3 files changed, 7 insertions(+) create mode 100644 {{copier__project_name}}/.envrc.example diff --git a/{{copier__project_name}}/.envrc.example b/{{copier__project_name}}/.envrc.example new file mode 100644 index 0000000..5b607f6 --- /dev/null +++ b/{{copier__project_name}}/.envrc.example @@ -0,0 +1,3 @@ +export AWS_ACCESS_KEY_ID=dummyAccessKeyId +export AWS_SECRET_ACCESS_KEY=dummySecretAccessKey +export AWS_REGION={{copier__aws_region}} diff --git a/{{copier__project_name}}/.gitignore b/{{copier__project_name}}/.gitignore index 6b7d724..9aabe9e 100644 --- a/{{copier__project_name}}/.gitignore +++ b/{{copier__project_name}}/.gitignore @@ -252,3 +252,6 @@ $RECYCLE.BIN/ # Ignore build folder .aws-sam/ + +.direnv +.envrc diff --git a/{{copier__project_name}}/Makefile b/{{copier__project_name}}/Makefile index 4e5a403..6f66690 100644 --- a/{{copier__project_name}}/Makefile +++ b/{{copier__project_name}}/Makefile @@ -89,6 +89,7 @@ create-table: setup: dynamo-up wait-for-dynamodb create-table{% else %} setup: pip install -r requirements.txt{% endif %} + cp -n .envrc.example .envrc test: AWS_SAM_STACK_NAME=$(STACK_NAME) PYTHONPATH=. uv run --with pytest,boto3,requests,pytest-mock pytest -v --disable-warnings --tb=short tests From 0c757bbc375702165cefb19e46ceb8cba07bde65 Mon Sep 17 00:00:00 2001 From: Daniel Lindsley Date: Mon, 1 Dec 2025 11:30:33 -0600 Subject: [PATCH 2/2] Added missing EOL Makefile bits. --- {{copier__project_name}}/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{copier__project_name}}/Makefile b/{{copier__project_name}}/Makefile index 6f66690..f9b4a72 100644 --- a/{{copier__project_name}}/Makefile +++ b/{{copier__project_name}}/Makefile @@ -88,7 +88,7 @@ create-table: setup: dynamo-up wait-for-dynamodb create-table{% else %} setup: - pip install -r requirements.txt{% endif %} + pip install -r requirements.txt{% endif %}; \ cp -n .envrc.example .envrc test: