Commit 2854d544 authored by Cyril Plisko's avatar Cyril Plisko

Add README example

parent 3b872247
# AWS CloudFormation Template Generator
use cumulus::ec2;
use cumulus::Template;
fn main() {
let proxy1 = ec2::Instance::new().instance_type("s2.micro");
let proxy2 = proxy1.clone();
let template = Template::new()
.description("Proxy Farm")
.resource("proxy1", proxy1)
.resource("proxy2", proxy2)
println!("{}", template);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment