For all aws services, only graphql server can be run locally.
-
Install Docker
-
Install the AWS CLI.
- Verify that the AWS CLI is installed by running
aws
in a terminal window.
- Verify that the AWS CLI is installed by running
-
Set up AWS Shared Credential File.
-
Your
~/.aws/credentials
(%UserProfile%\.aws\credentials
on Windows) should look like the following:[default] aws_access_key_id = local aws_secret_access_key = local
-
Your
~/.aws/config
(%UserProfile%\.aws\config
on Windows) should look like the following:[default] region = us-west-2
-
- Create a local tfvars file and define secret_value
touch ./terraform/local/local.auto.tfvars
- Run docker
docker compose up -d
docker compose up terraform-local