lib/terraforming/cli.rb in terraforming-0.0.2 vs lib/terraforming/cli.rb in terraforming-0.0.3

- old
+ new

@@ -28,13 +28,55 @@ option :tfstate, type: :boolean def elb execute(Terraforming::Resource::ELB, options) end + desc "iamg", "IAM Group" + option :tfstate, type: :boolean + def iamg + execute(Terraforming::Resource::IAMGroup, options) + end + + desc "iamgp", "IAM Group Policy" + option :tfstate, type: :boolean + def iamgp + execute(Terraforming::Resource::IAMGroupPolicy, options) + end + + desc "iamp", "IAM Policy" + option :tfstate, type: :boolean + def iamp + execute(Terraforming::Resource::IAMPolicy, options) + end + + desc "iamu", "IAM User" + option :tfstate, type: :boolean + def iamu + execute(Terraforming::Resource::IAMUser, options) + end + + desc "iamup", "IAM User Policy" + option :tfstate, type: :boolean + def iamup + execute(Terraforming::Resource::IAMUserPolicy, options) + end + desc "nacl", "Network ACL" option :tfstate, type: :boolean def nacl execute(Terraforming::Resource::NetworkACL, options) + end + + desc "r53r", "Route53 Record" + option :tfstate, type: :boolean + def r53r + execute(Terraforming::Resource::Route53Record, options) + end + + desc "r53z", "Route53 Hosted Zone" + option :tfstate, type: :boolean + def r53z + execute(Terraforming::Resource::Route53Zone, options) end desc "rds", "RDS" option :tfstate, type: :boolean def rds