Class: Pipedream::Create
Instance Method Summary collapse
Methods inherited from Stack
Methods included from AwsServices
Methods included from AwsServices::Helpers
#are_you_sure?, #inferred_pipeline_name, #inferred_stack_name, #pipeline_name_convention, #stack_exists?
Constructor Details
This class inherits a constructor from Pipedream::Stack
Instance Method Details
#perform ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/pipedream/create.rb', line 3 def perform cfn.create_stack( stack_name: @stack_name, template_body: YAML.dump(@template), capabilities: ["CAPABILITY_IAM"] ) puts "Creating stack #{@stack_name}. Check CloudFormation console for status." end |