pub fn run<F: Fn(&Context) -> Result<()>>(f: F) -> Result<()>Expand description
Entrypoint for execution
pulumi_gestalt_rust::run(|ctx| {
// your code here
let output = ctx.new_output(&"Hello, Pulumi!".to_string());
ctx.add_export("greeting", &output);
Ok(())
}).unwrap();