Sha256: 95c8d69942f687c2d5667cc419b563ee84f48b124e2d25f736731d95d0eb1c59

Contents?: true

Size: 454 Bytes

Versions: 36

Compression:

Stored size: 454 Bytes

Contents

class Ufo::Cfn::Stack::Builder
  class Outputs < Base
    def build
      outputs = {
        ElbDns: {
          Description: "Elb Dns",
          Condition: "CreateElbIsTrue",
          Value: {
            "Fn::GetAtt": "Elb.DNSName"
          }
        }
      }

      if vars[:create_route53]
        outputs[:Route53Dns] = {
          Description: "Route53 Dns",
          Value: {Ref: "Dns"},
        }
      end

      outputs
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ufo-6.3.13 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.12 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.11 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.10 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.9 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.8 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.7 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.6 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.5 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.4 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.3 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.2 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.1 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.3.0 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.5 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.4 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.3 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.2 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.1 lib/ufo/cfn/stack/builder/outputs.rb
ufo-6.2.0 lib/ufo/cfn/stack/builder/outputs.rb