Method: Stacker#cloud_formation
- Defined in:
- lib/autostacker24/stacker.rb
#cloud_formation ⇒ Object
lazy CloudFormation client
205 206 207 208 209 210 211 212 213 214 |
# File 'lib/autostacker24/stacker.rb', line 205 def cloud_formation # lazy CloudFormation client unless @lazy_cloud_formation params = @cloud_formation_params || {} params[:credentials] = @credentials if @credentials params[:region] = @region if @region params[:retry_limit] = 10 @lazy_cloud_formation = Aws::CloudFormation::Client.new(params) end @lazy_cloud_formation end |