Skip to content
An example of how to integrate a Datomic query group into a service with Terraform
HCL Shell Clojure
Branch: master
Clone or download
Latest commit 5c66a31 Dec 25, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Whitespace Dec 23, 2019
datomic Initial commit Nov 21, 2019
.gitignore Add a .gitignore Dec 23, 2019
LICENSE Initial commit Nov 21, 2019 Tweak README heading Dec 24, 2019 Initial commit Nov 21, 2019
prod.tfvars Initial commit Nov 21, 2019
stage.tfvars Initial commit Nov 21, 2019


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.

You might also find my datomic-http-direct-example and sqs-driven-ion useful.


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:


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.


Check out my deployment-pipeline and pipeline-example for examples of how to integrate with CodePipeline.

You can’t perform that action at this time.