Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

jdhollis/datomic-terraform-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datomic-terraform-example

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.

AWS

All Terraform and scripts assume you have the AWS CLI tools installed. On the Mac, you can install them via Homebrew:

brew install awscli

Credentials

All of the Terraform assumes that you have configured your AWS credentials the following way:

~/.aws/credentials

[ops]
aws_access_key_id = …
aws_secret_access_key = …

~/.aws/config

[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.

Deployment

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

About

An example of how to integrate a Datomic query group into a service with Terraform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published