Crates.io | cumulus |
lib.rs | cumulus |
version | 0.0.6 |
source | src |
created_at | 2019-09-04 14:44:23.369343 |
updated_at | 2020-11-12 21:05:16.433946 |
description | AWS CloudFormation Template Generator |
homepage | |
repository | https://gitlab.com/imp/cumulus-rs.git |
max_upload_size | |
id | 162146 |
size | 56,868 |
The purpose is to programmatically generate templates for AWS CloudFormation
Here is a quick example of how it should work when operational (i.e. version >= 0.1.0)
use cumulus::ec2;
use cumulus::Template;
fn main() {
let proxy1 = ec2::Instance::new("proxy1").instance_type("s2.micro");
let proxy2 = ec2::Instance::new("proxy2").instance_type("s2.micro");
let template = Template::new()
.description("Proxy Farm")
.resource(proxy1)
.resource(proxy2)
.json_pretty();
println!("{}", template);
}