class Formatron::External::Outputs
queries and merges CloudFormation
outputs for external stacks
Attributes
hash[R]
Public Class Methods
new(aws:, target:)
click to toggle source
# File lib/formatron/external/outputs.rb, line 9 def initialize(aws:, target:) @aws = aws @target = target @hash = {} end
Public Instance Methods
merge(bucket:, dependency:, configuration:)
click to toggle source
# File lib/formatron/external/outputs.rb, line 15 def merge(bucket:, dependency:, configuration:) @hash.merge! configuration @hash.merge! CloudFormation.outputs( aws: @aws, bucket: bucket, name: dependency, target: @target ) end