This is a starter template for integrating Datomic into a service using Terraform. You can read more about the approach on my site: Datomic with Terraform
This also assumes you have a global Datomic service set up like datomic-service.
All Terraform and scripts assume you have the AWS CLI tools installed. On the Mac, you can install them via Homebrew:
brew install awscli
All of the Terraform assumes that you have configured your AWS credentials the following way:
[ops] aws_access_key_id = … aws_secret_access_key = …
[profile ops] [profile ops-dev] source_profile = ops role_arn = … [profile ops-tools] source_profile = ops role_arn = … [profile ops-stage] source_profile = ops role_arn = … [profile ops-prod] source_profile = ops role_arn = …
You can configure using
aws configure or edit the files directly.