lib/yao/resources/security_group.rb in yao-0.0.2 vs lib/yao/resources/security_group.rb in yao-0.0.3
- old
+ new
@@ -10,12 +10,12 @@
when "network"
self["security_group_rules"].map{|r| SecurityGroupRule.new(r) }
end)
end
- self.service = "compute"
- self.resource_name = "os-security-group"
- self.resources_name = "os-security-groups"
+ self.service = "network"
+ self.resource_name = "security-group"
+ self.resources_name = "security-groups"
end
end
Yao.config.param :security_group_service, "compute" do |service|
case service