kumogata-template 0.0.15 → 0.0.16

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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/.travis.yml +1 -1
  4. data/Gemfile.lock +44 -21
  5. data/README.md +10 -1
  6. data/bin/kumogata-template +2 -2
  7. data/kumogata-template.gemspec +5 -6
  8. data/lib/kumogata/template.rb +3 -0
  9. data/lib/kumogata/template/codebuild.rb +86 -0
  10. data/lib/kumogata/template/codecommit.rb +20 -0
  11. data/lib/kumogata/template/ec2.rb +1 -1
  12. data/lib/kumogata/template/elb.rb +4 -1
  13. data/lib/kumogata/template/ext/argument_parser.rb +8 -0
  14. data/lib/kumogata/template/ext/kumogata.rb +41 -40
  15. data/lib/kumogata/template/ext/option_parser.rb +6 -0
  16. data/lib/kumogata/template/helper.rb +17 -11
  17. data/lib/kumogata/template/iam.rb +3 -0
  18. data/lib/kumogata/template/lambda.rb +5 -0
  19. data/lib/kumogata/template/logs.rb +18 -0
  20. data/lib/kumogata/template/sns.rb +21 -12
  21. data/lib/kumogata/template/version.rb +1 -1
  22. data/template/codebuild-project.rb +32 -0
  23. data/template/codecommit-repository.rb +20 -0
  24. data/template/ecs-cluster.rb +5 -1
  25. data/template/ecs-task-definition.rb +7 -1
  26. data/template/elasticache-replication-group.rb +2 -0
  27. data/template/elasticache-subnet-group.rb +2 -0
  28. data/template/kms-alias.rb +17 -0
  29. data/template/kms-key.rb +25 -0
  30. data/template/lambda-function.rb +2 -0
  31. data/template/logs-destination.rb +26 -0
  32. data/template/logs-log-group.rb +18 -0
  33. data/template/logs-log-stream.rb +18 -0
  34. data/template/logs-metric-filter.rb +21 -0
  35. data/template/logs-subscription_filter.rb +24 -0
  36. data/template/rds-db-instance.rb +6 -0
  37. data/template/s3-bucket-policy.rb +3 -2
  38. data/template/s3-bucket.rb +1 -1
  39. data/template/sns-subscription.rb +20 -0
  40. data/template/sns-topic.rb +1 -1
  41. data/test/abstract_unit.rb +8 -26
  42. data/test/codebuild_test.rb +76 -0
  43. data/test/elb_test.rb +44 -0
  44. data/test/logs_test.rb +23 -0
  45. data/test/s3_test.rb +0 -1
  46. data/test/sns_test.rb +1 -1
  47. data/test/template/codebuild-project_test.rb +72 -0
  48. data/test/template/codecommit-repository_test.rb +21 -0
  49. data/test/template/codedeploy-application_test.rb +1 -1
  50. data/test/template/ec2-network-acl-entry_test.rb +2 -2
  51. data/test/template/ecs-cluster_test.rb +5 -2
  52. data/test/template/elasticache-replication-group_test.rb +29 -1
  53. data/test/template/emr-cluster_test.rb +1 -1
  54. data/test/template/iam-managed-policy_test.rb +1 -1
  55. data/test/template/iam-policy_test.rb +1 -1
  56. data/test/template/kms-alias_test.rb +22 -0
  57. data/test/template/kms-key_test.rb +36 -0
  58. data/test/template/logs-destination_test.rb +37 -0
  59. data/test/template/logs-log-group_test.rb +34 -0
  60. data/test/template/logs-log-stream_test.rb +46 -0
  61. data/test/template/logs-metric-filter_test.rb +41 -0
  62. data/test/template/logs-subscription-filter_test.rb +36 -0
  63. data/test/template/rds-event-subscription_test.rb +1 -1
  64. data/test/template/sns-subscription_test.rb +28 -0
  65. metadata +52 -28
@@ -1,6 +1,6 @@
1
1
  require 'abstract_unit'
2
2
 
3
- class CodedeploApplicationTest < Minitest::Test
3
+ class CodedeployApplicationTest < Minitest::Test
4
4
  def test_normal
5
5
  template = <<-EOS
6
6
  _codedeploy_application "test", application: "test"
@@ -16,7 +16,7 @@ _ec2_network_acl_entry "test", ref_network_acl: "test"
16
16
  "NetworkAclId": {
17
17
  "Ref": "TestNetworkAcl"
18
18
  },
19
- "PortRange\": {
19
+ "PortRange": {
20
20
  "From": "0",
21
21
  "To": "65535"
22
22
  },
@@ -45,7 +45,7 @@ _ec2_network_acl_entry "test", ref_network_acl: "my", action: "allow", number: 1
45
45
  "NetworkAclId": {
46
46
  "Ref": "MyNetworkAcl"
47
47
  },
48
- "PortRange\": {
48
+ "PortRange": {
49
49
  "From": "53",
50
50
  "To": "53"
51
51
  },
@@ -3,13 +3,16 @@ require 'abstract_unit'
3
3
  class EcsClusterTest < Minitest::Test
4
4
  def test_normal
5
5
  template = <<-EOS
6
- _ecs_cluster "test"
6
+ _ecs_cluster "test", { cluster: "test" }
7
7
  EOS
8
8
  act_template = run_client_as_json(template)
9
9
  exp_template = <<-EOS
10
10
  {
11
11
  "TestEcsCluster": {
12
- "Type": "AWS::ECS::Cluster"
12
+ "Type": "AWS::ECS::Cluster",
13
+ "Properties": {
14
+ "ClusterName": "test"
15
+ }
13
16
  }
14
17
  }
15
18
  EOS
@@ -35,7 +35,35 @@ _elasticache_replication_group "test", ref_security_groups: "test", ref_subnet:
35
35
  }
36
36
  ],
37
37
  "SnapshotRetentionLimit": "10",
38
- "SnapshotWindow": "21:15-22:15"
38
+ "SnapshotWindow": "21:15-22:15",
39
+ "Tags": [
40
+ {
41
+ "Key": "Name",
42
+ "Value": {
43
+ "Fn::Join": [
44
+ "-",
45
+ [
46
+ {
47
+ "Ref": "Service"
48
+ },
49
+ "test"
50
+ ]
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "Key": "Service",
56
+ "Value": {
57
+ "Ref": "Service"
58
+ }
59
+ },
60
+ {
61
+ "Key": "Version",
62
+ "Value": {
63
+ "Ref": "Version"
64
+ }
65
+ }
66
+ ]
39
67
  }
40
68
  }
41
69
  }
@@ -105,7 +105,7 @@ _emr_cluster "test", job: { core: core, master: master, termination: true }, clu
105
105
  },
106
106
  "TerminationProtected": "true"
107
107
  },
108
- "JobFlowRole": "EMR_EC2_DefaultRole\",
108
+ "JobFlowRole": "EMR_EC2_DefaultRole",
109
109
  "Name": "TestCluster",
110
110
  "ReleaseLabel": "emr-4.6.0",
111
111
  "ServiceRole": "EMR_DefaultRole",
@@ -12,7 +12,7 @@ _iam_managed_policy "test", policy_document: [ { service: "s3" } ]
12
12
  "Type": "AWS::IAM::ManagedPolicy",
13
13
  "Properties": {
14
14
  "Path": "/",
15
- "PolicyDocument\": {
15
+ "PolicyDocument": {
16
16
  "Version": "2012-10-17",
17
17
  "Statement": [
18
18
  {
@@ -11,7 +11,7 @@ _iam_policy "test", user: "test", ref_roles: "test", policy_document: [ { servic
11
11
  "TestPolicy": {
12
12
  "Type": "AWS::IAM::Policy",
13
13
  "Properties": {
14
- "PolicyDocument\": {
14
+ "PolicyDocument": {
15
15
  "Version": "2012-10-17",
16
16
  "Statement": [
17
17
  {
@@ -0,0 +1,22 @@
1
+ require 'abstract_unit'
2
+
3
+ class KmsAliasTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _kms_alias "test", { "alias": "test", target: "test" }
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestKmsAlias": {
12
+ "Type": "AWS::KMS::Alias",
13
+ "Properties": {
14
+ "AliasName": "test",
15
+ "TargetKeyId": "test"
16
+ }
17
+ }
18
+ }
19
+ EOS
20
+ assert_equal exp_template.chomp, act_template
21
+ end
22
+ end
@@ -0,0 +1,36 @@
1
+ require 'abstract_unit'
2
+
3
+ class KmsKeyTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _kms_key "test", { policy: [ { service: "s3" } ] }
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestKmsKey": {
12
+ "Type": "AWS::KMS::Key",
13
+ "Properties": {
14
+ "Enabled": "true",
15
+ "EnableKeyRotation": "false",
16
+ "KeyPolicy": {
17
+ "Version": "2012-10-17",
18
+ "Statement": [
19
+ {
20
+ "Effect": "Allow",
21
+ "Action": [
22
+ "s3:*"
23
+ ],
24
+ "Resource": [
25
+ "*"
26
+ ]
27
+ }
28
+ ]
29
+ }
30
+ }
31
+ }
32
+ }
33
+ EOS
34
+ assert_equal exp_template.chomp, act_template
35
+ end
36
+ end
@@ -0,0 +1,37 @@
1
+ require 'abstract_unit'
2
+
3
+ class LogsDestinationTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _logs_destination "test", { dest: "test", policy: [ { service: "s3" } ], role: "test", target: { account_id: "test", region: "test", name: "test" } }
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestLogsDestination": {
12
+ "Type": "AWS::Logs::Destination",
13
+ "Properties": {
14
+ "DestinationName": "test",
15
+ "DestinationPolicy": {
16
+ "Version": "2012-10-17",
17
+ "Statement": [
18
+ {
19
+ "Effect": "Allow",
20
+ "Action": [
21
+ "s3:*"
22
+ ],
23
+ "Resource": [
24
+ "*"
25
+ ]
26
+ }
27
+ ]
28
+ },
29
+ "RoleArn": "test",
30
+ "TargetArn": "arn:aws:kinesis:test:test:stream/test"
31
+ }
32
+ }
33
+ }
34
+ EOS
35
+ assert_equal exp_template.chomp, act_template
36
+ end
37
+ end
@@ -0,0 +1,34 @@
1
+ require 'abstract_unit'
2
+
3
+ class LogsLogGroupTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _logs_log_group "test"
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestLogsLogGroup": {
12
+ "Type": "AWS::Logs::LogGroup",
13
+ "Properties": {
14
+ "LogGroupName": {
15
+ "Fn::Join": [
16
+ "-",
17
+ [
18
+ {
19
+ "Ref": "Service"
20
+ },
21
+ {
22
+ "Ref": "Name"
23
+ }
24
+ ]
25
+ ]
26
+ },
27
+ "RetentionInDays": "365"
28
+ }
29
+ }
30
+ }
31
+ EOS
32
+ assert_equal exp_template.chomp, act_template
33
+ end
34
+ end
@@ -0,0 +1,46 @@
1
+ require 'abstract_unit'
2
+
3
+ class LogsLogStreamTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _logs_log_stream "test"
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestLogsLogStream": {
12
+ "Type": "AWS::Logs::LogStream",
13
+ "Properties": {
14
+ "LogGroupName": {
15
+ "Fn::Join": [
16
+ "-",
17
+ [
18
+ {
19
+ "Ref": "Service"
20
+ },
21
+ {
22
+ "Ref": "Name"
23
+ }
24
+ ]
25
+ ]
26
+ },
27
+ "LogStreamName": {
28
+ "Fn::Join": [
29
+ "-",
30
+ [
31
+ {
32
+ "Ref": "Service"
33
+ },
34
+ {
35
+ "Ref": "Name"
36
+ }
37
+ ]
38
+ ]
39
+ }
40
+ }
41
+ }
42
+ }
43
+ EOS
44
+ assert_equal exp_template.chomp, act_template
45
+ end
46
+ end
@@ -0,0 +1,41 @@
1
+ require 'abstract_unit'
2
+
3
+ class LogsMetricFilterTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _logs_metric_filter "test", { pattern: "test", transformations: [ { name: "test", ns: "test", value: "test" }] }
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestLogsMetricFilter": {
12
+ "Type": "AWS::Logs::MetricFilter",
13
+ "Properties": {
14
+ "FilterPattern": "test",
15
+ "LogGroupName": {
16
+ "Fn::Join": [
17
+ "-",
18
+ [
19
+ {
20
+ "Ref": "Service"
21
+ },
22
+ {
23
+ "Ref": "Name"
24
+ }
25
+ ]
26
+ ]
27
+ },
28
+ "MetricTransformations": [
29
+ {
30
+ "MetricName": "test",
31
+ "MetricNamespace": "test",
32
+ "MetricValue": "test"
33
+ }
34
+ ]
35
+ }
36
+ }
37
+ }
38
+ EOS
39
+ assert_equal exp_template.chomp, act_template
40
+ end
41
+ end
@@ -0,0 +1,36 @@
1
+ require 'abstract_unit'
2
+
3
+ class LogsSubscriptionTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _logs_subscription_filter "test", dest: "test", pattern: "test", role: "test"
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestLogsSubscriptionFilter": {
12
+ "Type": "AWS::Logs::SubscriptionFilter",
13
+ "Properties": {
14
+ "DestinationArn": "test",
15
+ "FilterPattern": "test",
16
+ "LogGroupName": {
17
+ "Fn::Join": [
18
+ "-",
19
+ [
20
+ {
21
+ "Ref": "Service"
22
+ },
23
+ {
24
+ "Ref": "Name"
25
+ }
26
+ ]
27
+ ]
28
+ },
29
+ "RoleArn": "test"
30
+ }
31
+ }
32
+ }
33
+ EOS
34
+ assert_equal exp_template.chomp, act_template
35
+ end
36
+ end
@@ -28,7 +28,7 @@ _rds_event_subscription "test", ref_sources: "test", ref_sns: "test"
28
28
  "restoration"
29
29
  ],
30
30
  "SnsTopicArn": {
31
- "Fn::GetAtt\": [
31
+ "Fn::GetAtt": [
32
32
  "TestRole",
33
33
  "Arn"
34
34
  ]
@@ -0,0 +1,28 @@
1
+ require 'abstract_unit'
2
+
3
+ class SnsSubscriptionTest < Minitest::Test
4
+ def test_normal
5
+ template = <<-EOS
6
+ _sns_subscription "test", { protocol: "lambda", endpoint: "test", topic: "test" }
7
+ EOS
8
+ act_template = run_client_as_json(template)
9
+ exp_template = <<-EOS
10
+ {
11
+ "TestSnsSubscription": {
12
+ "Type": "AWS::SNS::Subscription",
13
+ "Properties": {
14
+ "Endpoint": {
15
+ "Fn::GetAtt": [
16
+ "Test",
17
+ "Arn"
18
+ ]
19
+ },
20
+ "Protocol": "lambda",
21
+ "TopicArn": "test"
22
+ }
23
+ }
24
+ }
25
+ EOS
26
+ assert_equal exp_template.chomp, act_template
27
+ end
28
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoya Nakazawa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-30 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -16,84 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2'
19
+ version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2'
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
- name: kumogata2-plugin-ruby
28
+ name: kumogata
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.3
33
+ version: 0.5.10
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.3
41
- - !ruby/object:Gem::Dependency
42
- name: kumogata2-plugin-yaml
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 0.0.1
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '='
53
- - !ruby/object:Gem::Version
54
- version: 0.0.1
40
+ version: 0.5.10
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: bundler
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '1.13'
47
+ version: '1.11'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
52
  - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '1.13'
54
+ version: '1.11'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '12.0'
61
+ version: '11.1'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '12.0'
68
+ version: '11.1'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: minitest
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '5.10'
75
+ version: '5.8'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '5.10'
82
+ version: '5.8'
97
83
  description: Template for Kumogata. Kumogata is a tool for AWS CloudFormation. It
98
84
  can define a template in Ruby DSL.
99
85
  email:
@@ -117,6 +103,8 @@ files:
117
103
  - lib/kumogata/template/certificate.rb
118
104
  - lib/kumogata/template/cloudfront.rb
119
105
  - lib/kumogata/template/cloudwatch.rb
106
+ - lib/kumogata/template/codebuild.rb
107
+ - lib/kumogata/template/codecommit.rb
120
108
  - lib/kumogata/template/codedeploy.rb
121
109
  - lib/kumogata/template/const.rb
122
110
  - lib/kumogata/template/datapipeline.rb
@@ -127,11 +115,13 @@ files:
127
115
  - lib/kumogata/template/elb.rb
128
116
  - lib/kumogata/template/emr.rb
129
117
  - lib/kumogata/template/events.rb
118
+ - lib/kumogata/template/ext/argument_parser.rb
130
119
  - lib/kumogata/template/ext/kumogata.rb
131
120
  - lib/kumogata/template/ext/option_parser.rb
132
121
  - lib/kumogata/template/helper.rb
133
122
  - lib/kumogata/template/iam.rb
134
123
  - lib/kumogata/template/lambda.rb
124
+ - lib/kumogata/template/logs.rb
135
125
  - lib/kumogata/template/s3.rb
136
126
  - lib/kumogata/template/sns.rb
137
127
  - lib/kumogata/template/version.rb
@@ -149,6 +139,8 @@ files:
149
139
  - template/cloudfront-distribution.rb
150
140
  - template/cloudtrail.rb
151
141
  - template/cloudwatch-alarm.rb
142
+ - template/codebuild-project.rb
143
+ - template/codecommit-repository.rb
152
144
  - template/codedeploy-application.rb
153
145
  - template/codedeploy-deployment-config.rb
154
146
  - template/codedeploy-deployment-group.rb
@@ -199,11 +191,18 @@ files:
199
191
  - template/iam-role.rb
200
192
  - template/iam-user-to-group-addition.rb
201
193
  - template/iam-user.rb
194
+ - template/kms-alias.rb
195
+ - template/kms-key.rb
202
196
  - template/lambda-alias.rb
203
197
  - template/lambda-event-source-mapping.rb
204
198
  - template/lambda-function.rb
205
199
  - template/lambda-permission.rb
206
200
  - template/lambda-version.rb
201
+ - template/logs-destination.rb
202
+ - template/logs-log-group.rb
203
+ - template/logs-log-stream.rb
204
+ - template/logs-metric-filter.rb
205
+ - template/logs-subscription_filter.rb
207
206
  - template/mappings-ec2.rb
208
207
  - template/output-access-key.rb
209
208
  - template/output-alb.rb
@@ -241,6 +240,7 @@ files:
241
240
  - template/redshift-cluster.rb
242
241
  - template/s3-bucket-policy.rb
243
242
  - template/s3-bucket.rb
243
+ - template/sns-subscription.rb
244
244
  - template/sns-topic.rb
245
245
  - template/sqs-queue.rb
246
246
  - test/_template.rb
@@ -248,6 +248,7 @@ files:
248
248
  - test/alb_test.rb
249
249
  - test/autoscaling_test.rb
250
250
  - test/cloudfront_test.rb
251
+ - test/codebuild_test.rb
251
252
  - test/codedeploy_test.rb
252
253
  - test/data/lambda_function.py
253
254
  - test/datapipeline_test.rb
@@ -261,6 +262,7 @@ files:
261
262
  - test/helper_test.rb
262
263
  - test/iam_test.rb
263
264
  - test/lambda_test.rb
265
+ - test/logs_test.rb
264
266
  - test/s3_test.rb
265
267
  - test/sns_test.rb
266
268
  - test/template/alb-listener-rule_test.rb
@@ -276,6 +278,8 @@ files:
276
278
  - test/template/cloudfront-distribution_test.rb
277
279
  - test/template/cloudtrail_test.rb
278
280
  - test/template/cloudwatch-alarm_test.rb
281
+ - test/template/codebuild-project_test.rb
282
+ - test/template/codecommit-repository_test.rb
279
283
  - test/template/codedeploy-application_test.rb
280
284
  - test/template/codedeploy-deployment-config_test.rb
281
285
  - test/template/codedeploy-deployment-group_test.rb
@@ -326,11 +330,18 @@ files:
326
330
  - test/template/iam-role_test.rb
327
331
  - test/template/iam-user-to-group-addition_test.rb
328
332
  - test/template/iam-user_test.rb
333
+ - test/template/kms-alias_test.rb
334
+ - test/template/kms-key_test.rb
329
335
  - test/template/lambda-alias_test.rb
330
336
  - test/template/lambda-event-source-mapping_test.rb
331
337
  - test/template/lambda-function_test.rb
332
338
  - test/template/lambda-permission_test.rb
333
339
  - test/template/lambda-version_test.rb
340
+ - test/template/logs-destination_test.rb
341
+ - test/template/logs-log-group_test.rb
342
+ - test/template/logs-log-stream_test.rb
343
+ - test/template/logs-metric-filter_test.rb
344
+ - test/template/logs-subscription-filter_test.rb
334
345
  - test/template/mappings-ec2_test.rb
335
346
  - test/template/output-access-key_test.rb
336
347
  - test/template/output-alb_test.rb
@@ -368,6 +379,7 @@ files:
368
379
  - test/template/redshift-cluster_test.rb
369
380
  - test/template/s3-bucket-policy_test.rb
370
381
  - test/template/s3-bucket_test.rb
382
+ - test/template/sns-subscription_test.rb
371
383
  - test/template/sns-topic_test.rb
372
384
  - test/template/sqs-queue_test.rb
373
385
  homepage: https://github.com/n0ts/kumogata-template
@@ -390,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
390
402
  version: '0'
391
403
  requirements: []
392
404
  rubyforge_project:
393
- rubygems_version: 2.5.2
405
+ rubygems_version: 2.6.8
394
406
  signing_key:
395
407
  specification_version: 4
396
408
  summary: Template for Kumogata.
@@ -400,6 +412,7 @@ test_files:
400
412
  - test/alb_test.rb
401
413
  - test/autoscaling_test.rb
402
414
  - test/cloudfront_test.rb
415
+ - test/codebuild_test.rb
403
416
  - test/codedeploy_test.rb
404
417
  - test/data/lambda_function.py
405
418
  - test/datapipeline_test.rb
@@ -413,6 +426,7 @@ test_files:
413
426
  - test/helper_test.rb
414
427
  - test/iam_test.rb
415
428
  - test/lambda_test.rb
429
+ - test/logs_test.rb
416
430
  - test/s3_test.rb
417
431
  - test/sns_test.rb
418
432
  - test/template/alb-listener-rule_test.rb
@@ -428,6 +442,8 @@ test_files:
428
442
  - test/template/cloudfront-distribution_test.rb
429
443
  - test/template/cloudtrail_test.rb
430
444
  - test/template/cloudwatch-alarm_test.rb
445
+ - test/template/codebuild-project_test.rb
446
+ - test/template/codecommit-repository_test.rb
431
447
  - test/template/codedeploy-application_test.rb
432
448
  - test/template/codedeploy-deployment-config_test.rb
433
449
  - test/template/codedeploy-deployment-group_test.rb
@@ -478,11 +494,18 @@ test_files:
478
494
  - test/template/iam-role_test.rb
479
495
  - test/template/iam-user-to-group-addition_test.rb
480
496
  - test/template/iam-user_test.rb
497
+ - test/template/kms-alias_test.rb
498
+ - test/template/kms-key_test.rb
481
499
  - test/template/lambda-alias_test.rb
482
500
  - test/template/lambda-event-source-mapping_test.rb
483
501
  - test/template/lambda-function_test.rb
484
502
  - test/template/lambda-permission_test.rb
485
503
  - test/template/lambda-version_test.rb
504
+ - test/template/logs-destination_test.rb
505
+ - test/template/logs-log-group_test.rb
506
+ - test/template/logs-log-stream_test.rb
507
+ - test/template/logs-metric-filter_test.rb
508
+ - test/template/logs-subscription-filter_test.rb
486
509
  - test/template/mappings-ec2_test.rb
487
510
  - test/template/output-access-key_test.rb
488
511
  - test/template/output-alb_test.rb
@@ -520,5 +543,6 @@ test_files:
520
543
  - test/template/redshift-cluster_test.rb
521
544
  - test/template/s3-bucket-policy_test.rb
522
545
  - test/template/s3-bucket_test.rb
546
+ - test/template/sns-subscription_test.rb
523
547
  - test/template/sns-topic_test.rb
524
548
  - test/template/sqs-queue_test.rb