diff --git a/devops-client/lib/devops-client/handler/stack_template.rb b/devops-client/lib/devops-client/handler/stack_template.rb index 7a8d9c1..c305e18 100644 --- a/devops-client/lib/devops-client/handler/stack_template.rb +++ b/devops-client/lib/devops-client/handler/stack_template.rb @@ -39,7 +39,7 @@ class StackTemplate < Handler q[:template_body] = get_file_contents(filepath) json = JSON.pretty_generate(q) - post_body('/stack_template', json) if question(I18n.t('handler.stack_template.question.create')){puts json} + post_body("/stack_template/#{q[:provider]}", json) if question(I18n.t('handler.stack_template.question.create')){puts json} end def list_handler(provider=nil)