renderCFN 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/renderCFN/applicationLoadBalancerV2.rb +13 -0
- data/lib/renderCFN/dnsWizard.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '09b3b45ed037b2e7d875d9ac017c9c6c99f43a21'
|
|
4
|
+
data.tar.gz: d0cc1b432e09b0cb811b555e56b2629c0caead9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3265c834b162241b751d25290e5e7b865b25aa277fac07a672eb4d3e7524f1faf800e581e49f6663b23aa7ee50ad6d327049652fda4b6f044b31f4d6a3359a59
|
|
7
|
+
data.tar.gz: 66ab1efcf1760e4a9943246b338a42ff6ec64cc7d3fe548d8fed1d2815d0c5764b5d9b9499af8a3711ed6c05dbd6875b2464132f048c8efbbd6adb29f2e19940
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
require 'renderCFN/awsObject'
|
|
2
|
+
require 'aws-sdk'
|
|
3
|
+
|
|
4
|
+
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html
|
|
5
|
+
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html
|
|
6
|
+
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenercertificate.html
|
|
7
|
+
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html
|
|
8
|
+
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html
|
|
2
9
|
|
|
3
10
|
module RenderCFN
|
|
4
11
|
class LoadBalancer < AwsObject
|
|
@@ -55,6 +62,12 @@ module RenderCFN
|
|
|
55
62
|
|
|
56
63
|
end
|
|
57
64
|
|
|
65
|
+
def createLoadBalancer()
|
|
66
|
+
# create load balancer via sdk
|
|
67
|
+
# store load balancer ARN for use when attaching listeners
|
|
68
|
+
# How to get it to associate with the stack so it's deleted on stack deletion?
|
|
69
|
+
end
|
|
70
|
+
|
|
58
71
|
def modifyHealthCheck( newHealthCheck)
|
|
59
72
|
@awsObject[@name]['Properties']['HealthCheck']['Target'] = newHealthCheck
|
|
60
73
|
end
|
data/lib/renderCFN/dnsWizard.rb
CHANGED
|
@@ -35,7 +35,7 @@ module RenderCFN
|
|
|
35
35
|
def addLbDNS( arguments)
|
|
36
36
|
@awsObject[@name]['Properties']['RecordSets'].push(
|
|
37
37
|
{
|
|
38
|
-
'Name' => "#{arguments[:name]}.#{@@stackType}.#{@@environmentName}.#{@@environmentType}
|
|
38
|
+
'Name' => "#{arguments[:name]}.#{@@stackType}.#{@@environmentName}.#{@@environmentType}.#{arguments[:zoneTLD]}",
|
|
39
39
|
'Type' => 'A',
|
|
40
40
|
'AliasTarget'=> {
|
|
41
41
|
'HostedZoneId' => { "Fn::GetAtt" => [ "#{@title}ElasticLoadBalancer", "CanonicalHostedZoneNameID"] },
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: renderCFN
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.27
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian J. Schrock
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: aws-sdk
|