This module can be used to deploy AWS datomic transactor and dynamodb.
aws_account
- The AWS account iddatomic_licence
- The datomic licence keydatomic_version
- The datomic version. Defaults to0.9.5530
dynamo_read_capacity
- One read capacity unit represents one strongly consistent read per second, or two eventually consistent reads per second, for items up to 4 KB in size. Defaults to50
.dynamo_write_capactiy
- One write capacity unit represents one write per second for items up to 1 KB in size. Defaults to 50peer_role_id
- The elastic beanstalk role idpeer_role_name
- The elastic beanstalk role nameregion
- The region to deploy intotransactor_instance_type
- The transactor instance type. Defaults to t2.microtransactor_instance_virtualization_type
- Visualization type for the instance. Defaults tohvm
transactors
- The number of transactors to run. Defaults to1
.subnet
- The subnet idtransactor_deploy_bucket
- The bucket containing datomic and startup script. Defaults todeploy-a0dbc565-faf2-4760-9b7e-29a8e45f428e
transactor_xmx
- The maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Defaults to512m
.transactor_java_opts
- JAVA_OPTS to pass to Datomic (It's unclear what this actually does). Defaults to empty string.transactor_memory_index_max
- Apply back pressure to let indexing catch up. Defaults to64m
.transactor_memory_index_threshold
- Start building index when this is reached. Defaults to16m
.transactor_object_cache_max
- Size of the object cache. Defaults to128m
.vpc_id
- The vpc id to deploy intovpc_ip_block
- VPC internal IP cidr block for ec2 machines
module datomic {
source = "github.com/fierceventures/terraform-datomic"
aws_account = "${var.aws_account}"
datomic_license = "${var.datomic_license}"
peer_role_id = "${module.server.eb_role_id}"
peer_role_name = "${module.server.eb_role_name}"
region = "${var.region}"
subnet = "${module.vpc.private_subnet_2_id}"
vpc_id = "${module.vpc.id}"
vpc_ip_block = "${module.vpc.datomic_cidr_block}"
}
- dynamo_arn (arn of Dynamo table)
Created and maintained by Fierce Ventures