Commit 73139e1b authored by Daisuke Fujita's avatar Daisuke Fujita

Define CLI command ecsn for ElastiCacheSubnetGroup

parent 5b13e5e1
......@@ -28,6 +28,11 @@ module Terraforming
execute(Terraforming::Resource::ElastiCacheCluster, options)
end
desc "ecsn", "ElastiCache Subnet Group"
def ecsn
execute(Terraforming::Resource::ElastiCacheSubnetGroup, options)
end
desc "elb", "ELB"
def elb
execute(Terraforming::Resource::ELB, options)
......
......@@ -60,6 +60,13 @@ module Terraforming
it_behaves_like "CLI examples"
end
describe "ecsn" do
let(:klass) { Terraforming::Resource::ElastiCacheSubnetGroup }
let(:command) { :ecsn }
it_behaves_like "CLI examples"
end
describe "elb" do
let(:klass) { Terraforming::Resource::ELB }
let(:command) { :elb }
......
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