Deployable Dictionary app to be used as part of Writing Test-Driven Apps with http4k workshop.
Currently available via https://d2abkoa8ls379e.cloudfront.net
- Working AWS account
- Pulumi installed
- A user with permissions to manage resources
- User credentials configured in a
http4k-lambda-demo
CLI profile:
~/.aws/config:
[profile dictionary-http4k]
region = eu-west-2
output = json
~/.aws/credentials:
[dictionary-http4k]
aws_access_key_id = <your key>
aws_secret_access_key = <your secret>
export AWS_PROFILE=dictionary-http4k
./gradlew dictionary-function:buildLambdaZip
pulumi up --stack dev
The deployed URL will be printed at the end of the run. You can test the deployed lambda with:
curl $(pulumi stack --stack dev output publishedUrl)
pulumi destroy --stack dev