cfndsl 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/Gemfile +1 -0
- data/Rakefile +6 -0
- data/lib/cfndsl/aws/types.yaml +36 -29
- data/lib/cfndsl/version.rb +1 -1
- data/spec/spec_helper.rb +11 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2M3MmIxMWQyMTcxZjhhODJhYmYzZWM1OTdjZGM0ZmM3MGRlNzMyMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDU1ODE0NTk4OWM2NjIzZWZjMGQ4NDczN2NkOWZhMDUzMjkxNWZkYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzEwMGE0Y2RmZmMyNzhkNjM2MjVkMGQ3MjkxNDcyMDQyZmNlMThhZjIyYjkz
|
10
|
+
MzBlZWVjYzllMTRjNDNkYmIzOWU5OTViNjI2ZjI5NWI4M2FhYTg0ZGM1MWEz
|
11
|
+
MTAyY2ViYjI4MDMyZDYzMzdkZWZkZDRkZTgxYmJlMjBhN2RkNmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDc3MTRiOWZkNzk0MDFiYzQ5YmU0YjBjNmVjYzYwZGRjNTIxZDUxOWY0ZTUx
|
14
|
+
NzA1NjNlN2ZmMjgzY2JjYjY0NGEwN2VmMGExZmUwYjNhNmE1OWVmNzJiZjU1
|
15
|
+
MWFjOGU4N2E2NTg5Y2FmOWM3YWJiNjk1YTZmZmEzOGExZDBmMDI=
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -7,6 +7,12 @@ require 'yamllint/rake_task'
|
|
7
7
|
RSpec::Core::RakeTask.new
|
8
8
|
RuboCop::RakeTask.new
|
9
9
|
|
10
|
+
desc 'Run RSpec with SimpleCov'
|
11
|
+
task :cov do
|
12
|
+
ENV['CFNDSL_COV'] = 'true'
|
13
|
+
Rake::Task[:spec].execute
|
14
|
+
end
|
15
|
+
|
10
16
|
YamlLint::RakeTask.new do |t|
|
11
17
|
t.paths = %w(
|
12
18
|
lib/cfndsl/aws/types.yaml
|
data/lib/cfndsl/aws/types.yaml
CHANGED
@@ -249,7 +249,7 @@ Resources:
|
|
249
249
|
Properties :
|
250
250
|
BgpAsn : Number
|
251
251
|
IpAddress : String
|
252
|
-
Tags : [
|
252
|
+
Tags : [ ResourceTag ]
|
253
253
|
Type : String
|
254
254
|
"AWS::EC2::EIP" :
|
255
255
|
Properties:
|
@@ -297,7 +297,7 @@ Resources:
|
|
297
297
|
SourceDestCheck: Boolean
|
298
298
|
SsmAssociations: [ SsmAssociation ]
|
299
299
|
SubnetId: String
|
300
|
-
Tags: [
|
300
|
+
Tags: [ ResourceTag ]
|
301
301
|
Tenancy: String
|
302
302
|
UserData: String
|
303
303
|
Volumes: [ EC2MountPoint ]
|
@@ -309,10 +309,10 @@ Resources:
|
|
309
309
|
PublicIp: String
|
310
310
|
"AWS::EC2::InternetGateway" :
|
311
311
|
Properties:
|
312
|
-
Tags: [
|
312
|
+
Tags: [ ResourceTag ]
|
313
313
|
"AWS::EC2::NetworkAclEntry" :
|
314
314
|
Properties:
|
315
|
-
Tags: [
|
315
|
+
Tags: [ ResourceTag ]
|
316
316
|
CidrBlock: String
|
317
317
|
Egress: Boolean
|
318
318
|
Icmp: EC2Icmp
|
@@ -323,7 +323,7 @@ Resources:
|
|
323
323
|
Protocol: Integer
|
324
324
|
"AWS::EC2::NetworkInterface" :
|
325
325
|
Properties:
|
326
|
-
Tags: [
|
326
|
+
Tags: [ ResourceTag ]
|
327
327
|
GroupSet: [ String ]
|
328
328
|
SubnetId: String
|
329
329
|
PrivateIpAddress: String
|
@@ -341,14 +341,14 @@ Resources:
|
|
341
341
|
"AWS::EC2::RouteTable" :
|
342
342
|
Properties:
|
343
343
|
VpcId: String
|
344
|
-
Tags: [
|
344
|
+
Tags: [ ResourceTag ]
|
345
345
|
"AWS::EC2::SecurityGroup" :
|
346
346
|
Properties:
|
347
347
|
GroupDescription: String
|
348
348
|
SecurityGroupIngress: [ EC2SecurityGroupRule ]
|
349
349
|
SecurityGroupEgress: [ EC2SecurityGroupRule ]
|
350
350
|
VpcId: String
|
351
|
-
Tags : [
|
351
|
+
Tags : [ ResourceTag ]
|
352
352
|
"AWS::EC2::SecurityGroupEgress" :
|
353
353
|
Properties:
|
354
354
|
GroupId: String
|
@@ -373,7 +373,7 @@ Resources:
|
|
373
373
|
AvailabilityZone: String
|
374
374
|
VpcId: String
|
375
375
|
CidrBlock: String
|
376
|
-
Tags: [
|
376
|
+
Tags: [ ResourceTag ]
|
377
377
|
MapPublicIpOnLaunch: Boolean
|
378
378
|
"AWS::EC2::SubnetRouteTableAssociation" :
|
379
379
|
Properties:
|
@@ -388,7 +388,7 @@ Resources:
|
|
388
388
|
AvailabilityZone: String
|
389
389
|
Size: String
|
390
390
|
SnapshotId: String
|
391
|
-
Tags: [
|
391
|
+
Tags: [ ResourceTag ]
|
392
392
|
Encrypted: Boolean
|
393
393
|
Iops: Number
|
394
394
|
VolumeType: String
|
@@ -401,7 +401,7 @@ Resources:
|
|
401
401
|
Properties:
|
402
402
|
CidrBlock: String
|
403
403
|
InstanceTenancy: String
|
404
|
-
Tags: [
|
404
|
+
Tags: [ ResourceTag ]
|
405
405
|
EnableDnsSupport: Boolean
|
406
406
|
EnableDnsHostnames: Boolean
|
407
407
|
"AWS::EC2::DHCPOptions" :
|
@@ -411,7 +411,7 @@ Resources:
|
|
411
411
|
NetbiosNameServers : [ String ]
|
412
412
|
NetbiosNodeType : Number
|
413
413
|
NtpServers : [ String ]
|
414
|
-
Tags : [
|
414
|
+
Tags : [ ResourceTag ]
|
415
415
|
"AWS::EC2::VPCDHCPOptionsAssociation" :
|
416
416
|
Properties:
|
417
417
|
DhcpOptionsId: String
|
@@ -425,7 +425,7 @@ Resources:
|
|
425
425
|
"AWS::EC2::NetworkAcl" :
|
426
426
|
Properties:
|
427
427
|
VpcId: String
|
428
|
-
Tags : [
|
428
|
+
Tags : [ ResourceTag ]
|
429
429
|
"AWS::EC2::VPCGatewayAttachment" :
|
430
430
|
Properties:
|
431
431
|
InternetGatewayId: String
|
@@ -434,25 +434,25 @@ Resources:
|
|
434
434
|
"AWS::EC2::VPCPeeringConnection" :
|
435
435
|
Properties:
|
436
436
|
PeerVpcId : String
|
437
|
-
Tags : [
|
437
|
+
Tags : [ ResourceTag ]
|
438
438
|
VpcId : String
|
439
439
|
"AWS::EC2::VPNGateway" :
|
440
440
|
Properties:
|
441
441
|
Type : String
|
442
|
-
Tags : [
|
442
|
+
Tags : [ ResourceTag ]
|
443
443
|
"AWS::EC2::VPNGatewayConnection" :
|
444
444
|
Properties:
|
445
445
|
Type : String
|
446
446
|
CustomerGatewayId : String
|
447
447
|
StaticRoutesOnly : Boolean
|
448
|
-
Tags : [
|
448
|
+
Tags : [ ResourceTag ]
|
449
449
|
VpnGatewayId : String
|
450
450
|
"AWS::EC2::VPNConnection" :
|
451
451
|
Properties:
|
452
452
|
Type : String
|
453
453
|
CustomerGatewayId : String
|
454
454
|
StaticRoutesOnly : Boolean
|
455
|
-
Tags : [
|
455
|
+
Tags : [ ResourceTag ]
|
456
456
|
VpnGatewayId : String
|
457
457
|
"AWS::EC2::VPNConnectionRoute" :
|
458
458
|
Properties:
|
@@ -487,7 +487,7 @@ Resources:
|
|
487
487
|
SnapshotName : String
|
488
488
|
SnapshotRetentionLimit : Integer
|
489
489
|
SnapshotWindow : String
|
490
|
-
Tags: [
|
490
|
+
Tags: [ ResourceTag ]
|
491
491
|
VpcSecurityGroupIds : [String]
|
492
492
|
"AWS::ElastiCache::ReplicationGroup" :
|
493
493
|
Properties:
|
@@ -558,7 +558,7 @@ Resources:
|
|
558
558
|
ConnectionSettings: ConnectionSettings
|
559
559
|
LoadBalancerName: String
|
560
560
|
Policies: [ ElasticLoadBalancingPolicy ]
|
561
|
-
Tags: [
|
561
|
+
Tags: [ ResourceTag ]
|
562
562
|
Attributes:
|
563
563
|
CanonicalHostedZoneName: String
|
564
564
|
CanonicalGostedZoneNameID: String
|
@@ -572,7 +572,7 @@ Resources:
|
|
572
572
|
Scheme: String
|
573
573
|
SecurityGroups: [ String ]
|
574
574
|
Subnets: [ String ]
|
575
|
-
Tags: [
|
575
|
+
Tags: [ ResourceTag ]
|
576
576
|
"AWS::ElasticLoadBalancingV2::Listener" :
|
577
577
|
Properties:
|
578
578
|
Certificates: [ LBCertificate ]
|
@@ -599,7 +599,7 @@ Resources:
|
|
599
599
|
Name: String
|
600
600
|
Port: String
|
601
601
|
Protocol: String
|
602
|
-
Tags: [
|
602
|
+
Tags: [ ResourceTag ]
|
603
603
|
TargetGroupAttributes: [ TargetGroupAttribute ]
|
604
604
|
Targets: [ TargetDescription ]
|
605
605
|
UnhealthyThresholdCount: Integer
|
@@ -612,7 +612,7 @@ Resources:
|
|
612
612
|
EBSOptions: EBSOptions
|
613
613
|
ElasticsearchClusterConfig: ElasticsearchClusterConfig
|
614
614
|
SnapshotOptions: SnapshotOptions
|
615
|
-
Tags: [
|
615
|
+
Tags: [ ResourceTag ]
|
616
616
|
"AWS::Events::Rule":
|
617
617
|
Properties:
|
618
618
|
Description: String
|
@@ -679,6 +679,13 @@ Resources:
|
|
679
679
|
Policies: [ IAMEmbeddedPolicy ]
|
680
680
|
Attributes:
|
681
681
|
Arn: String
|
682
|
+
"AWS::Kinesis::Stream" :
|
683
|
+
Properties:
|
684
|
+
Name: String
|
685
|
+
ShardCount: Integer
|
686
|
+
Tags: [ ResourceTag ]
|
687
|
+
Attributes:
|
688
|
+
Arn: String
|
682
689
|
"AWS::KMS::Key" :
|
683
690
|
Properties:
|
684
691
|
Description: String
|
@@ -772,14 +779,14 @@ Resources:
|
|
772
779
|
PreferredBackupWindow: String
|
773
780
|
PreferredMaintenanceWindow: String
|
774
781
|
SnapshotIdentifier: String
|
775
|
-
Tags:
|
782
|
+
Tags: [ ResourceTag ]
|
776
783
|
VpcSecurityGroupIds: [ String ]
|
777
784
|
"AWS::RDS::DBClusterParameterGroup" :
|
778
785
|
Properties:
|
779
786
|
Description: String
|
780
787
|
Family: String
|
781
788
|
Parameters: JSON
|
782
|
-
Tags:
|
789
|
+
Tags: [ ResourceTag ]
|
783
790
|
"AWS::RDS::DBInstance" :
|
784
791
|
Properties:
|
785
792
|
AllocatedStorage: String
|
@@ -812,7 +819,7 @@ Resources:
|
|
812
819
|
SourceDBInstanceIdentifier: String
|
813
820
|
StorageEncrypted: Boolean
|
814
821
|
StorageType: String
|
815
|
-
Tags: [
|
822
|
+
Tags: [ ResourceTag ]
|
816
823
|
VPCSecurityGroups: [ String ]
|
817
824
|
Attributes:
|
818
825
|
DBInstanceIdentifier: String
|
@@ -823,14 +830,14 @@ Resources:
|
|
823
830
|
Description: String
|
824
831
|
Family: String
|
825
832
|
Parameters: JSON
|
826
|
-
Tags:
|
833
|
+
Tags: [ ResourceTag ]
|
827
834
|
"AWS::RDS::OptionGroup":
|
828
835
|
Properties:
|
829
836
|
EngineName: String
|
830
837
|
MajorEngineVersion: String
|
831
838
|
OptionGroupDescription: String
|
832
839
|
OptionConfigurations: JSON
|
833
|
-
Tags:
|
840
|
+
Tags: [ ResourceTag ]
|
834
841
|
"AWS::RDS::DBSecurityGroup" :
|
835
842
|
Properties:
|
836
843
|
EC2VpcId: String
|
@@ -841,7 +848,7 @@ Resources:
|
|
841
848
|
Properties:
|
842
849
|
DBSubnetGroupDescription: String
|
843
850
|
SubnetIds: [ String ]
|
844
|
-
Tags: [
|
851
|
+
Tags: [ ResourceTag ]
|
845
852
|
"AWS::RDS::EventSubscription" :
|
846
853
|
Properties:
|
847
854
|
Enabled: Boolean
|
@@ -936,7 +943,7 @@ Resources:
|
|
936
943
|
NotificationConfiguration: S3NotificationConfiguration
|
937
944
|
VersioningConfiguration: JSON
|
938
945
|
WebsiteConfiguration: JSON
|
939
|
-
Tags: [
|
946
|
+
Tags: [ ResourceTag ]
|
940
947
|
Attributes:
|
941
948
|
DomainName: String
|
942
949
|
WebsiteUrl: String
|
@@ -1122,7 +1129,7 @@ Types:
|
|
1122
1129
|
SourceSecurityGroupOwnerId: String
|
1123
1130
|
FromPort: String
|
1124
1131
|
ToPort: String
|
1125
|
-
|
1132
|
+
ResourceTag:
|
1126
1133
|
Key: String
|
1127
1134
|
Value: String
|
1128
1135
|
ApplicationVersion:
|
data/lib/cfndsl/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,16 @@
|
|
1
|
-
require 'cfndsl'
|
2
1
|
require 'aruba/rspec'
|
3
2
|
|
3
|
+
if ENV['CFNDSL_COV']
|
4
|
+
require 'simplecov'
|
5
|
+
|
6
|
+
SimpleCov.start do
|
7
|
+
add_group 'Code', 'lib'
|
8
|
+
add_group 'Test', 'spec'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
require 'cfndsl'
|
13
|
+
|
4
14
|
bindir = File.expand_path('../../bin', __FILE__)
|
5
15
|
ENV['PATH'] = [ENV['PATH'], bindir].join(':')
|
6
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cfndsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Jack
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|