Skip to content

Instantly share code, notes, and snippets.

@pratikmallya
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratikmallya/b35b573e3ec18f5b43d4 to your computer and use it in GitHub Desktop.
Save pratikmallya/b35b573e3ec18f5b43d4 to your computer and use it in GitHub Desktop.
heat_template_version: 2013-05-23
resources:
load_balancer:
type: Rackspace::Cloud::LoadBalancer
properties:
port: 80
protocol: HTTP
algorithm: "ROUND_ROBIN"
virtualIps:
- type: PUBLIC
ipVersion: IPV4
httpsRedirect: True
sslTermination:
secureTrafficOnly: True
securePort: 443
privatekey: "not valid"
certificate: "some certi"
nodes:
- addresses: ["104.130.170.92"]
port: 80
condition: ENABLED
healthMonitor:
attemptsBeforeDeactivation: 3
delay: 1
timeout: 30
type: HTTP
path: "/"
statusRegex: "."
bodyRegex: "."
outputs:
service_ip:
description: IP of the service
value: { get_attr: [load_balancer, PublicIp] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment