Commit c54617d7 authored by Daisuke Fujita's avatar Daisuke Fujita

Define CLI command ecc for ElastiCache Cluster

parent a7ab93e5
......@@ -23,6 +23,11 @@ module Terraforming
execute(Terraforming::Resource::EC2, options)
end
desc "ecc", "ElastiCache Cluster"
def ecc
execute(Terraforming::Resource::ElastiCacheCluster, options)
end
desc "elb", "ELB"
def elb
execute(Terraforming::Resource::ELB, options)
......
......@@ -53,6 +53,13 @@ module Terraforming
it_behaves_like "CLI examples"
end
describe "ecc" do
let(:klass) { Terraforming::Resource::ElastiCacheCluster }
let(:command) { :ecc }
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