convection 0.2.28 → 0.2.29
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/convection/model/template/resource/aws_ec2_customer_gateway.rb +27 -0
- data/lib/convection/model/template/resource/aws_ec2_vpn_connection.rb +28 -0
- data/lib/convection/model/template/resource/aws_ec2_vpn_connection_route.rb +18 -0
- data/lib/convection/model/template/resource/aws_ec2_vpn_gateway.rb +25 -0
- data/lib/convection/model/template/resource/aws_ec2_vpn_gateway_route_propagation.rb +18 -0
- data/lib/convection/model/template/resource/aws_route53_hosted_zone.rb +29 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01dfb1231347ca5e76c25bfa04db7011237cf94c
|
4
|
+
data.tar.gz: 821332eb89f14c80115340e99474ce6a37711173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17972124358163ca0b5eb4a02be44902d1547e446a258ac94735bd2d52532e57cba2d9cc94e03e90813d5cec05e98925f62590fc9f27239884a1ca6abaf8f9f7
|
7
|
+
data.tar.gz: d119d4c3b356293ac64ae7005a44d5c8b706e9bc7f3337ea51a26687ca4d5cb12bce53a4242ab6a22a5f8b6397ba73214f4b5f6b0a9bb70154052c8fc37caf08
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::EC2::CustomerGateway
|
9
|
+
##
|
10
|
+
class EC2CustomerGateway < Resource
|
11
|
+
include Model::Mixin::Taggable
|
12
|
+
|
13
|
+
type 'AWS::EC2::CustomerGateway'
|
14
|
+
property :connection_type, 'Type'
|
15
|
+
property :bgp_asn, 'BgpAsn'
|
16
|
+
property :ip_address, 'IpAddress'
|
17
|
+
|
18
|
+
def render(*args)
|
19
|
+
super.tap do |resource|
|
20
|
+
render_tags(resource)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::EC2::VPNConnection
|
9
|
+
##
|
10
|
+
class EC2VPNConnection < Resource
|
11
|
+
include Model::Mixin::Taggable
|
12
|
+
|
13
|
+
type 'AWS::EC2::VPNConnection'
|
14
|
+
property :connection_type, 'Type'
|
15
|
+
property :static_routes_only, 'StaticRoutesOnly'
|
16
|
+
property :customer_gateway_id, 'CustomerGatewayId'
|
17
|
+
property :vpn_gateway_id, 'VpnGatewayId'
|
18
|
+
|
19
|
+
def render(*args)
|
20
|
+
super.tap do |resource|
|
21
|
+
render_tags(resource)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::EC2::VPNConnectionRoute
|
9
|
+
##
|
10
|
+
class EC2VPNConnectionRoute < Resource
|
11
|
+
type 'AWS::EC2::VPNConnectionRoute'
|
12
|
+
property :destination, 'DestinationCidrBlock'
|
13
|
+
property :vpn_connection_id, 'VpnConnectionId'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::EC2::VPNGateway
|
9
|
+
##
|
10
|
+
class EC2VPNGateway < Resource
|
11
|
+
include Model::Mixin::Taggable
|
12
|
+
|
13
|
+
type 'AWS::EC2::VPNGateway'
|
14
|
+
property :connection_type, 'Type'
|
15
|
+
|
16
|
+
def render(*args)
|
17
|
+
super.tap do |resource|
|
18
|
+
render_tags(resource)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::EC2::VPNGatewayRoutePropagation
|
9
|
+
##
|
10
|
+
class EC2VPNGatewayRoutePropagation < Resource
|
11
|
+
type 'AWS::EC2::VPNGatewayRoutePropagation'
|
12
|
+
property :route_table_ids, 'RouteTableIds'
|
13
|
+
property :vpn_gateway_id, 'VpnGatewayId'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative '../resource'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class Resource
|
7
|
+
##
|
8
|
+
# AWS::Route53::HostedZone
|
9
|
+
##
|
10
|
+
class Route53HostedZone < Resource
|
11
|
+
include Model::Mixin::Taggable
|
12
|
+
|
13
|
+
type 'AWS::Route53::HostedZone', :route53_hosted_zone
|
14
|
+
property :config, 'HostedZoneConfig'
|
15
|
+
property :name, 'Name'
|
16
|
+
property :vpcs, 'VPCs', :type => :list
|
17
|
+
|
18
|
+
def render(*args)
|
19
|
+
super.tap do |resource|
|
20
|
+
resource.tap do |r|
|
21
|
+
r['Properties']['HostedZoneTags'] = tags.render unless tags.empty?
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- lib/convection/model/template/resource/aws_cloud_watch_alarm.rb
|
136
136
|
- lib/convection/model/template/resource/aws_cloudfront_distribution.rb
|
137
137
|
- lib/convection/model/template/resource/aws_directory_service_simple_ad.rb
|
138
|
+
- lib/convection/model/template/resource/aws_ec2_customer_gateway.rb
|
138
139
|
- lib/convection/model/template/resource/aws_ec2_eip.rb
|
139
140
|
- lib/convection/model/template/resource/aws_ec2_eip_association.rb
|
140
141
|
- lib/convection/model/template/resource/aws_ec2_instance.rb
|
@@ -154,6 +155,10 @@ files:
|
|
154
155
|
- lib/convection/model/template/resource/aws_ec2_vpc_endpoint.rb
|
155
156
|
- lib/convection/model/template/resource/aws_ec2_vpc_gateway_attachment.rb
|
156
157
|
- lib/convection/model/template/resource/aws_ec2_vpc_peering_connection.rb
|
158
|
+
- lib/convection/model/template/resource/aws_ec2_vpn_connection.rb
|
159
|
+
- lib/convection/model/template/resource/aws_ec2_vpn_connection_route.rb
|
160
|
+
- lib/convection/model/template/resource/aws_ec2_vpn_gateway.rb
|
161
|
+
- lib/convection/model/template/resource/aws_ec2_vpn_gateway_route_propagation.rb
|
157
162
|
- lib/convection/model/template/resource/aws_elasticache_cluster.rb
|
158
163
|
- lib/convection/model/template/resource/aws_elasticache_parameter_group.rb
|
159
164
|
- lib/convection/model/template/resource/aws_elasticache_replication_group.rb
|
@@ -182,6 +187,7 @@ files:
|
|
182
187
|
- lib/convection/model/template/resource/aws_rds_db_security_group.rb
|
183
188
|
- lib/convection/model/template/resource/aws_rds_db_subnet_group.rb
|
184
189
|
- lib/convection/model/template/resource/aws_route53_health_check.rb
|
190
|
+
- lib/convection/model/template/resource/aws_route53_hosted_zone.rb
|
185
191
|
- lib/convection/model/template/resource/aws_route53_recordset.rb
|
186
192
|
- lib/convection/model/template/resource/aws_s3_bucket.rb
|
187
193
|
- lib/convection/model/template/resource/aws_s3_bucket_policy.rb
|