-
-
Save jackjennings/1ca53db2f453c943e52e6616109c34e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ database = | |
{ resources, ... }: | |
{ deployment.targetEnv = "ec2"; | |
deployment.ec2.accessKeyId = accessKeyId; | |
deployment.ec2.region = region; | |
deployment.ec2.ami = "ami-009c9c3f1af480ff3"; | |
deployment.ec2.instanceType = "m5.large"; | |
deployment.ec2.keyPair = resources.ec2KeyPairs.my-key-pair; | |
deployment.ec2.ebsInitialRootDiskSize = 10; | |
deployment.ec2.securityGroups = | |
with resources.ec2SecurityGroups; | |
[ allow-ssh allow-psql ]; | |
fileSystems."/data" = | |
{ autoFormat = true; | |
fsType = "btrfs"; | |
device = "/dev/xvdf"; | |
ec2.size = 5; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment