Commit c7de3b3a authored by Cyril Plisko's avatar Cyril Plisko

Add parameter example

parent 38f3fa74
use cumulus::ec2::{EIp, Instance};
use cumulus::parameter::Parameter;
use cumulus::Template;
pub fn template() -> Template {
......@@ -7,10 +8,12 @@ pub fn template() -> Template {
let eip1 = EIp::vpc();
let eip2 = EIp::vpc();
let scale = Parameter::string();
let mut template = Template::new();
.description("Proxy Farm")
.parameter("scale", scale)
.resource("proxy1", proxy1)
.resource("proxy1ip", eip1)
.resource("proxy2", proxy2)
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