lib/cfn-flow/template.rb in cfn-flow-0.1.0 vs lib/cfn-flow/template.rb in cfn-flow-0.1.1
- old
+ new
@@ -52,13 +52,13 @@
@to_json ||= MultiJson.dump(from_data, pretty: true)
end
private
def cfn
- Thread.current[:aws_cfn_client] ||= Aws::CloudFormation::Client.new
+ Aws::CloudFormation::Client.new
end
def s3_object
- Thread.current[:aws_s3_object] ||= Aws::S3::Object.new(bucket, key)
+ Aws::S3::Object.new(bucket, key)
end
end