Class: Terraforming::CLI
- Inherits:
-
Thor
- Object
- Thor
- Terraforming::CLI
- Defined in:
- lib/terraforming/cli.rb
Instance Method Summary collapse
- #alb ⇒ Object
- #all ⇒ Object
- #asg ⇒ Object
- #cwa ⇒ Object
- #dbpg ⇒ Object
- #dbsg ⇒ Object
- #dbsn ⇒ Object
- #ec2 ⇒ Object
- #ecc ⇒ Object
- #ecsn ⇒ Object
- #efs ⇒ Object
- #eip ⇒ Object
- #elb ⇒ Object
- #iamg ⇒ Object
- #iamgm ⇒ Object
- #iamgp ⇒ Object
- #iamip ⇒ Object
- #iamp ⇒ Object
- #iampa ⇒ Object
- #iamr ⇒ Object
- #iamrp ⇒ Object
- #iamu ⇒ Object
- #iamup ⇒ Object
- #igw ⇒ Object
- #kmsa ⇒ Object
- #kmsk ⇒ Object
- #lc ⇒ Object
- #nacl ⇒ Object
- #nat ⇒ Object
- #nif ⇒ Object
- #r53r ⇒ Object
- #r53z ⇒ Object
- #rds ⇒ Object
- #rs ⇒ Object
- #rt ⇒ Object
- #rta ⇒ Object
- #s3 ⇒ Object
- #sg ⇒ Object
- #sn ⇒ Object
- #snss ⇒ Object
- #snst ⇒ Object
- #sqs ⇒ Object
- #vgw ⇒ Object
- #vpc ⇒ Object
Instance Method Details
#alb ⇒ Object
63 64 65 |
# File 'lib/terraforming/cli.rb', line 63 def alb execute(Terraforming::Resource::ALB, ) end |
#all ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/terraforming/cli.rb', line 13 def all executeAll([ # Terraforming::Resource::ALB, # Terraforming::Resource::AutoScalingGroup, Terraforming::Resource::CloudWatchAlarm, # Terraforming::Resource::DBParameterGroup, # Terraforming::Resource::DBSecurityGroup, # Terraforming::Resource::DBSubnetGroup, Terraforming::Resource::EC2, Terraforming::Resource::ElastiCacheCluster, # Terraforming::Resource::ElastiCacheSubnetGroup, Terraforming::Resource::EIP, Terraforming::Resource::EFSFileSystem, Terraforming::Resource::ELB, # Terraforming::Resource::IAMGroup, # Terraforming::Resource::IAMGroupMembership, # Terraforming::Resource::IAMGroupPolicy, # Terraforming::Resource::IAMInstanceProfile, # Terraforming::Resource::IAMPolicy, # Terraforming::Resource::IAMPolicyAttachment, # Terraforming::Resource::IAMRole, # Terraforming::Resource::IAMRolePolicy, # Terraforming::Resource::IAMUser, # Terraforming::Resource::IAMUserPolicy, # Terraforming::Resource::KMSAlias, Terraforming::Resource::KMSKey, # Terraforming::Resource::LaunchConfiguration, Terraforming::Resource::InternetGateway, # Terraforming::Resource::NetworkACL, Terraforming::Resource::NATGateway, # Terraforming::Resource::NetworkInterface, Terraforming::Resource::Route53Record, Terraforming::Resource::Route53Zone, Terraforming::Resource::RDS, Terraforming::Resource::Redshift, # Terraforming::Resource::RouteTable, # Terraforming::Resource::RouteTableAssociation, Terraforming::Resource::S3, # Terraforming::Resource::SecurityGroup, # Terraforming::Resource::Subnet, Terraforming::Resource::SQS, # Terraforming::Resource::VPC, Terraforming::Resource::VPNGateway, Terraforming::Resource::SNSTopic, Terraforming::Resource::SNSTopicSubscription, Terraforming::Resource::Config, ], ) end |
#asg ⇒ Object
68 69 70 |
# File 'lib/terraforming/cli.rb', line 68 def asg execute(Terraforming::Resource::AutoScalingGroup, ) end |
#cwa ⇒ Object
73 74 75 |
# File 'lib/terraforming/cli.rb', line 73 def cwa execute(Terraforming::Resource::CloudWatchAlarm, ) end |
#dbpg ⇒ Object
78 79 80 |
# File 'lib/terraforming/cli.rb', line 78 def dbpg execute(Terraforming::Resource::DBParameterGroup, ) end |
#dbsg ⇒ Object
83 84 85 |
# File 'lib/terraforming/cli.rb', line 83 def dbsg execute(Terraforming::Resource::DBSecurityGroup, ) end |
#dbsn ⇒ Object
88 89 90 |
# File 'lib/terraforming/cli.rb', line 88 def dbsn execute(Terraforming::Resource::DBSubnetGroup, ) end |
#ec2 ⇒ Object
93 94 95 |
# File 'lib/terraforming/cli.rb', line 93 def ec2 execute(Terraforming::Resource::EC2, ) end |
#ecc ⇒ Object
98 99 100 |
# File 'lib/terraforming/cli.rb', line 98 def ecc execute(Terraforming::Resource::ElastiCacheCluster, ) end |
#ecsn ⇒ Object
103 104 105 |
# File 'lib/terraforming/cli.rb', line 103 def ecsn execute(Terraforming::Resource::ElastiCacheSubnetGroup, ) end |
#efs ⇒ Object
113 114 115 |
# File 'lib/terraforming/cli.rb', line 113 def efs execute(Terraforming::Resource::EFSFileSystem, ) end |
#eip ⇒ Object
108 109 110 |
# File 'lib/terraforming/cli.rb', line 108 def eip execute(Terraforming::Resource::EIP, ) end |
#elb ⇒ Object
118 119 120 |
# File 'lib/terraforming/cli.rb', line 118 def elb execute(Terraforming::Resource::ELB, ) end |
#iamg ⇒ Object
123 124 125 |
# File 'lib/terraforming/cli.rb', line 123 def iamg execute(Terraforming::Resource::IAMGroup, ) end |
#iamgm ⇒ Object
128 129 130 |
# File 'lib/terraforming/cli.rb', line 128 def iamgm execute(Terraforming::Resource::IAMGroupMembership, ) end |
#iamgp ⇒ Object
133 134 135 |
# File 'lib/terraforming/cli.rb', line 133 def iamgp execute(Terraforming::Resource::IAMGroupPolicy, ) end |
#iamip ⇒ Object
138 139 140 |
# File 'lib/terraforming/cli.rb', line 138 def iamip execute(Terraforming::Resource::IAMInstanceProfile, ) end |
#iamp ⇒ Object
143 144 145 |
# File 'lib/terraforming/cli.rb', line 143 def iamp execute(Terraforming::Resource::IAMPolicy, ) end |
#iampa ⇒ Object
148 149 150 |
# File 'lib/terraforming/cli.rb', line 148 def iampa execute(Terraforming::Resource::IAMPolicyAttachment, ) end |
#iamr ⇒ Object
153 154 155 |
# File 'lib/terraforming/cli.rb', line 153 def iamr execute(Terraforming::Resource::IAMRole, ) end |
#iamrp ⇒ Object
158 159 160 |
# File 'lib/terraforming/cli.rb', line 158 def iamrp execute(Terraforming::Resource::IAMRolePolicy, ) end |
#iamu ⇒ Object
163 164 165 |
# File 'lib/terraforming/cli.rb', line 163 def iamu execute(Terraforming::Resource::IAMUser, ) end |
#iamup ⇒ Object
168 169 170 |
# File 'lib/terraforming/cli.rb', line 168 def iamup execute(Terraforming::Resource::IAMUserPolicy, ) end |
#igw ⇒ Object
188 189 190 |
# File 'lib/terraforming/cli.rb', line 188 def igw execute(Terraforming::Resource::InternetGateway, ) end |
#kmsa ⇒ Object
173 174 175 |
# File 'lib/terraforming/cli.rb', line 173 def kmsa execute(Terraforming::Resource::KMSAlias, ) end |
#kmsk ⇒ Object
178 179 180 |
# File 'lib/terraforming/cli.rb', line 178 def kmsk execute(Terraforming::Resource::KMSKey, ) end |
#lc ⇒ Object
183 184 185 |
# File 'lib/terraforming/cli.rb', line 183 def lc execute(Terraforming::Resource::LaunchConfiguration, ) end |
#nacl ⇒ Object
193 194 195 |
# File 'lib/terraforming/cli.rb', line 193 def nacl execute(Terraforming::Resource::NetworkACL, ) end |
#nat ⇒ Object
198 199 200 |
# File 'lib/terraforming/cli.rb', line 198 def nat execute(Terraforming::Resource::NATGateway, ) end |
#nif ⇒ Object
203 204 205 |
# File 'lib/terraforming/cli.rb', line 203 def nif execute(Terraforming::Resource::NetworkInterface, ) end |
#r53r ⇒ Object
208 209 210 |
# File 'lib/terraforming/cli.rb', line 208 def r53r execute(Terraforming::Resource::Route53Record, ) end |
#r53z ⇒ Object
213 214 215 |
# File 'lib/terraforming/cli.rb', line 213 def r53z execute(Terraforming::Resource::Route53Zone, ) end |
#rds ⇒ Object
218 219 220 |
# File 'lib/terraforming/cli.rb', line 218 def rds execute(Terraforming::Resource::RDS, ) end |
#rs ⇒ Object
223 224 225 |
# File 'lib/terraforming/cli.rb', line 223 def rs execute(Terraforming::Resource::Redshift, ) end |
#rt ⇒ Object
228 229 230 |
# File 'lib/terraforming/cli.rb', line 228 def rt execute(Terraforming::Resource::RouteTable, ) end |
#rta ⇒ Object
233 234 235 |
# File 'lib/terraforming/cli.rb', line 233 def rta execute(Terraforming::Resource::RouteTableAssociation, ) end |
#s3 ⇒ Object
238 239 240 |
# File 'lib/terraforming/cli.rb', line 238 def s3 execute(Terraforming::Resource::S3, ) end |
#sg ⇒ Object
243 244 245 |
# File 'lib/terraforming/cli.rb', line 243 def sg execute(Terraforming::Resource::SecurityGroup, ) end |
#sn ⇒ Object
248 249 250 |
# File 'lib/terraforming/cli.rb', line 248 def sn execute(Terraforming::Resource::Subnet, ) end |
#snss ⇒ Object
273 274 275 |
# File 'lib/terraforming/cli.rb', line 273 def snss execute(Terraforming::Resource::SNSTopicSubscription, ) end |
#snst ⇒ Object
268 269 270 |
# File 'lib/terraforming/cli.rb', line 268 def snst execute(Terraforming::Resource::SNSTopic, ) end |
#sqs ⇒ Object
253 254 255 |
# File 'lib/terraforming/cli.rb', line 253 def sqs execute(Terraforming::Resource::SQS, ) end |
#vgw ⇒ Object
263 264 265 |
# File 'lib/terraforming/cli.rb', line 263 def vgw execute(Terraforming::Resource::VPNGateway, ) end |
#vpc ⇒ Object
258 259 260 |
# File 'lib/terraforming/cli.rb', line 258 def vpc execute(Terraforming::Resource::VPC, ) end |