cumulus

Crates.iocumulus
lib.rscumulus
version0.0.6
sourcesrc
created_at2019-09-04 14:44:23.369343
updated_at2020-11-12 21:05:16.433946
descriptionAWS CloudFormation Template Generator
homepage
repositoryhttps://gitlab.com/imp/cumulus-rs.git
max_upload_size
id162146
size56,868
Cyril Plisko (imp)

documentation

README

AWS CloudFormation Template Generator

Work in Progress

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);
}
Commit count: 61

cargo fmt