lib/terraforming/cli.rb in terraforming-0.13.2 vs lib/terraforming/cli.rb in terraforming-0.14.0

- old
+ new

@@ -1,9 +1,9 @@ module Terraforming class CLI < Thor class_option :merge, type: :string, desc: "tfstate file to merge" - class_option :overwrite, type: :boolean, desc: "Overwrite existng tfstate" + class_option :overwrite, type: :boolean, desc: "Overwrite existing tfstate" class_option :tfstate, type: :boolean, desc: "Generate tfstate" class_option :profile, type: :string, desc: "AWS credentials profile" class_option :region, type: :string, desc: "AWS region" class_option :use_bundled_cert, type: :boolean, @@ -210,9 +210,19 @@ end desc "vgw", "VPN Gateway" def vgw execute(Terraforming::Resource::VPNGateway, options) + end + + desc "snst", "SNS Topic" + def snst + execute(Terraforming::Resource::SNSTopic, options) + end + + desc "snss", "SNS Subscription" + def snss + execute(Terraforming::Resource::SNSTopicSubscription, options) end private def configure_aws(options)