cfndsl 1.3.4 → 1.3.7
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/.github/workflows/spec.yml +28 -0
- data/.github/workflows/spec_publish.yml +36 -0
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +38 -17
- data/Gemfile +1 -0
- data/README.md +1 -2
- data/Rakefile +5 -4
- data/lib/cfndsl/aws/patches/901_SageMakerTags_patch.json +23 -0
- data/lib/cfndsl/version.rb +1 -1
- metadata +6 -4
- data/.travis.yml +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e4a4dc3e74e9148bb00af80f778d8fdec6ec7787c8f672650665fded6ed1f844
|
|
4
|
+
data.tar.gz: 774b8ce5a9b6026145be6419676c93163fb0c4dd17aefc3f15dd7f9faf3e9fed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7206da484e758c46c35a6703c23a98c08562323543dcd352ae199eef76659535ebcef19a115e91d202ed2ef9ebcbfc80ee3a73dc5ef9a916403f73279a7e3c5
|
|
7
|
+
data.tar.gz: bdded26b0d6d947c61e29e63189a58c6d21246d05961922e5eddfd44990e8a1d05bcc3894d1a1c1f57ba34421d822d704d8ee5a006aa9123fdb4a429ea5ba732
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Spec
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- "**"
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby-version: ['2.6', '2.7', '3.0']
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v3
|
|
18
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
19
|
+
uses: ruby/setup-ruby@v1
|
|
20
|
+
with:
|
|
21
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
22
|
+
bundler-cache: true
|
|
23
|
+
- name: Update system gems
|
|
24
|
+
run: gem update --system
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: bundle install
|
|
27
|
+
- name: Run tests
|
|
28
|
+
run: bundle exec rake
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Spec and publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
jobs:
|
|
8
|
+
test:
|
|
9
|
+
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
ruby-version: ['3.0']
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v3
|
|
18
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
|
19
|
+
uses: ruby/setup-ruby@v1
|
|
20
|
+
with:
|
|
21
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
22
|
+
bundler-cache: true
|
|
23
|
+
- name: Update system gems
|
|
24
|
+
run: gem update --system
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: bundle install
|
|
27
|
+
- name: Run tests
|
|
28
|
+
run: bundle exec rake
|
|
29
|
+
|
|
30
|
+
- name: Publish Gem
|
|
31
|
+
if: contains(github.ref, 'refs/tags/v')
|
|
32
|
+
uses: cadwallion/publish-rubygems-action@master
|
|
33
|
+
env:
|
|
34
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
35
|
+
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
|
36
|
+
RELEASE_COMMAND: bundle exec rake release
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [1.3.
|
|
3
|
+
## [1.3.7](https://github.com/cfndsl/cfndsl/tree/1.3.7) (2022-06-30)
|
|
4
4
|
|
|
5
|
-
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.
|
|
5
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.6...1.3.7)
|
|
6
|
+
|
|
7
|
+
**Closed issues:**
|
|
8
|
+
|
|
9
|
+
- Missing AWS::ElasticLoadBalancingV2::LoadBalancer SubnetMapping [\#479](https://github.com/cfndsl/cfndsl/issues/479)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Fix for cfndsl list command, undefined method 'Resources' [\#480](https://github.com/cfndsl/cfndsl/pull/480) ([avasisht](https://github.com/avasisht))
|
|
14
|
+
|
|
15
|
+
## [v1.3.6](https://github.com/cfndsl/cfndsl/tree/v1.3.6) (2022-06-07)
|
|
16
|
+
|
|
17
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.5...v1.3.6)
|
|
18
|
+
|
|
19
|
+
## [v1.3.5](https://github.com/cfndsl/cfndsl/tree/v1.3.5) (2022-06-07)
|
|
20
|
+
|
|
21
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.4...v1.3.5)
|
|
22
|
+
|
|
23
|
+
**Closed issues:**
|
|
24
|
+
|
|
25
|
+
- List ItemType in the specification file breaking template generation with spec version 69.0.0 [\#474](https://github.com/cfndsl/cfndsl/issues/474)
|
|
26
|
+
|
|
27
|
+
**Merged pull requests:**
|
|
28
|
+
|
|
29
|
+
- patch for sagemaker untyped tag [\#478](https://github.com/cfndsl/cfndsl/pull/478) ([gergnz](https://github.com/gergnz))
|
|
30
|
+
- Remove TravisCI [\#477](https://github.com/cfndsl/cfndsl/pull/477) ([elmobp](https://github.com/elmobp))
|
|
31
|
+
|
|
32
|
+
## [v1.3.4](https://github.com/cfndsl/cfndsl/tree/v1.3.4) (2022-05-16)
|
|
33
|
+
|
|
34
|
+
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v1.3.3...v1.3.4)
|
|
6
35
|
|
|
7
36
|
**Merged pull requests:**
|
|
8
37
|
|
|
@@ -748,6 +777,9 @@
|
|
|
748
777
|
**Merged pull requests:**
|
|
749
778
|
|
|
750
779
|
- Application Autoscaling Types [\#271](https://github.com/cfndsl/cfndsl/pull/271) ([kornypoet](https://github.com/kornypoet))
|
|
780
|
+
- Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
|
|
781
|
+
- Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
|
|
782
|
+
- Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
|
|
751
783
|
|
|
752
784
|
## [v0.11.8](https://github.com/cfndsl/cfndsl/tree/v0.11.8) (2016-11-13)
|
|
753
785
|
|
|
@@ -757,12 +789,6 @@
|
|
|
757
789
|
|
|
758
790
|
- Support for Export/Import values from stacks [\#260](https://github.com/cfndsl/cfndsl/issues/260)
|
|
759
791
|
|
|
760
|
-
**Merged pull requests:**
|
|
761
|
-
|
|
762
|
-
- Certificate manager type [\#267](https://github.com/cfndsl/cfndsl/pull/267) ([kornypoet](https://github.com/kornypoet))
|
|
763
|
-
- Add monitoring properties to AWS::RDS::DBInstance [\#266](https://github.com/cfndsl/cfndsl/pull/266) ([mikechau](https://github.com/mikechau))
|
|
764
|
-
- Add support for AWS::KMS::Alias [\#265](https://github.com/cfndsl/cfndsl/pull/265) ([mikechau](https://github.com/mikechau))
|
|
765
|
-
|
|
766
792
|
## [v0.11.6](https://github.com/cfndsl/cfndsl/tree/v0.11.6) (2016-10-23)
|
|
767
793
|
|
|
768
794
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.5...v0.11.6)
|
|
@@ -785,6 +811,10 @@
|
|
|
785
811
|
|
|
786
812
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.11.4...v0.11.5)
|
|
787
813
|
|
|
814
|
+
**Implemented enhancements:**
|
|
815
|
+
|
|
816
|
+
- Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
|
|
817
|
+
|
|
788
818
|
**Merged pull requests:**
|
|
789
819
|
|
|
790
820
|
- create fnsub branch, resolves \#244 and \#241 [\#258](https://github.com/cfndsl/cfndsl/pull/258) ([gergnz](https://github.com/gergnz))
|
|
@@ -828,7 +858,6 @@
|
|
|
828
858
|
|
|
829
859
|
**Implemented enhancements:**
|
|
830
860
|
|
|
831
|
-
- Support new function "Sub" [\#241](https://github.com/cfndsl/cfndsl/issues/241)
|
|
832
861
|
- `FnNot` could be improved to not require array as the argument... [\#235](https://github.com/cfndsl/cfndsl/issues/235)
|
|
833
862
|
- Provide support for AWS::CloudFormation::CustomResource [\#18](https://github.com/cfndsl/cfndsl/issues/18)
|
|
834
863
|
- A couple of little things that were annoying me. [\#237](https://github.com/cfndsl/cfndsl/pull/237) ([gergnz](https://github.com/gergnz))
|
|
@@ -1010,10 +1039,6 @@
|
|
|
1010
1039
|
|
|
1011
1040
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.2...v0.8.3)
|
|
1012
1041
|
|
|
1013
|
-
**Fixed bugs:**
|
|
1014
|
-
|
|
1015
|
-
- Add tag arguments [\#188](https://github.com/cfndsl/cfndsl/pull/188) ([kornypoet](https://github.com/kornypoet))
|
|
1016
|
-
|
|
1017
1042
|
## [v0.8.2](https://github.com/cfndsl/cfndsl/tree/v0.8.2) (2016-04-27)
|
|
1018
1043
|
|
|
1019
1044
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.8.1...v0.8.2)
|
|
@@ -1042,10 +1067,6 @@
|
|
|
1042
1067
|
|
|
1043
1068
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.2...v0.7.0)
|
|
1044
1069
|
|
|
1045
|
-
**Implemented enhancements:**
|
|
1046
|
-
|
|
1047
|
-
- Fix the issue with plural types [\#153](https://github.com/cfndsl/cfndsl/pull/153) ([johnf](https://github.com/johnf))
|
|
1048
|
-
|
|
1049
1070
|
## [v0.6.2](https://github.com/cfndsl/cfndsl/tree/v0.6.2) (2016-04-19)
|
|
1050
1071
|
|
|
1051
1072
|
[Full Changelog](https://github.com/cfndsl/cfndsl/compare/v0.6.1...v0.6.2)
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
cfndsl
|
|
2
2
|
======
|
|
3
3
|
|
|
4
|
-
[](https://github.com/cfndsl/cfndsl/actions/workflows/spec.yml)
|
|
5
5
|
[](http://badge.fury.io/rb/cfndsl)
|
|
6
|
-
[](https://gitter.im/cfndsl/cfndsl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://gitter.im/cfndsl/cfndsl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
7
6
|
|
|
8
7
|
[AWS Cloudformation](http://docs.amazonwebservices.com/AWSCloudFormation/latest/UserGuide/GettingStarted.html) templates are an incredibly powerful way to build
|
|
9
8
|
sets of resources in Amazon's AWS environment.
|
data/Rakefile
CHANGED
|
@@ -8,8 +8,10 @@ require 'yamllint/rake_task'
|
|
|
8
8
|
require 'github_changelog_generator/task'
|
|
9
9
|
require 'cfndsl/rake_task'
|
|
10
10
|
|
|
11
|
-
RSpec::Core::RakeTask.new
|
|
12
|
-
RuboCop::RakeTask.new
|
|
11
|
+
# RSpec::Core::RakeTask.new
|
|
12
|
+
RuboCop::RakeTask.new do |t|
|
|
13
|
+
t.options = ['--debug', '--cache=false']
|
|
14
|
+
end
|
|
13
15
|
|
|
14
16
|
desc 'Run RSpec with SimpleCov'
|
|
15
17
|
task :cov do
|
|
@@ -20,7 +22,6 @@ end
|
|
|
20
22
|
YamlLint::RakeTask.new do |t|
|
|
21
23
|
t.paths = %w[
|
|
22
24
|
sample/t1.yaml
|
|
23
|
-
.travis.yml
|
|
24
25
|
.rubocop.yml
|
|
25
26
|
]
|
|
26
27
|
end
|
|
@@ -99,5 +100,5 @@ task :bump, :type do |_, args|
|
|
|
99
100
|
puts 'Pushing tag'
|
|
100
101
|
`git push origin v#{version}`
|
|
101
102
|
|
|
102
|
-
puts 'All done,
|
|
103
|
+
puts 'All done, GitHub should pick up and release the gem now!'
|
|
103
104
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"broken": "75.0.0",
|
|
3
|
+
"ResourceTypes": {
|
|
4
|
+
"AWS::SageMaker::ModelPackage": {
|
|
5
|
+
"patch": {
|
|
6
|
+
"operations": [
|
|
7
|
+
{
|
|
8
|
+
"op": "replace",
|
|
9
|
+
"path": "/Properties/Tag",
|
|
10
|
+
"value": {
|
|
11
|
+
"Type": "List",
|
|
12
|
+
"ItemType": "Tag",
|
|
13
|
+
"Required": false,
|
|
14
|
+
"Documentation": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html#cfn-sagemaker-device-tags",
|
|
15
|
+
"UpdateType": "Mutable"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"description": "Fix SageMaker Device to be List of Tag"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
data/lib/cfndsl/version.rb
CHANGED
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: 1.3.
|
|
4
|
+
version: 1.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Jack
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: exe
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2022-
|
|
14
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|
|
@@ -52,9 +52,10 @@ executables:
|
|
|
52
52
|
extensions: []
|
|
53
53
|
extra_rdoc_files: []
|
|
54
54
|
files:
|
|
55
|
+
- ".github/workflows/spec.yml"
|
|
56
|
+
- ".github/workflows/spec_publish.yml"
|
|
55
57
|
- ".gitignore"
|
|
56
58
|
- ".rubocop.yml"
|
|
57
|
-
- ".travis.yml"
|
|
58
59
|
- CHANGELOG.md
|
|
59
60
|
- Gemfile
|
|
60
61
|
- LICENSE
|
|
@@ -84,6 +85,7 @@ files:
|
|
|
84
85
|
- lib/cfndsl/aws/patches/600_RefKinds_patch.json
|
|
85
86
|
- lib/cfndsl/aws/patches/700_SAM_Serverless_Function_InlineCode_patch.json
|
|
86
87
|
- lib/cfndsl/aws/patches/900_SageMakerTags_patch.json
|
|
88
|
+
- lib/cfndsl/aws/patches/901_SageMakerTags_patch.json
|
|
87
89
|
- lib/cfndsl/aws/resource_specification.json
|
|
88
90
|
- lib/cfndsl/aws/types.rb
|
|
89
91
|
- lib/cfndsl/aws/types.yaml
|
|
@@ -192,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
194
|
- !ruby/object:Gem::Version
|
|
193
195
|
version: '0'
|
|
194
196
|
requirements: []
|
|
195
|
-
rubygems_version: 3.
|
|
197
|
+
rubygems_version: 3.3.7
|
|
196
198
|
signing_key:
|
|
197
199
|
specification_version: 4
|
|
198
200
|
summary: AWS Cloudformation DSL
|
data/.travis.yml
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm: # all MRI ruby versions that are not EOL
|
|
3
|
-
- '2.7'
|
|
4
|
-
- '2.6'
|
|
5
|
-
- '3.0'
|
|
6
|
-
sudo: false
|
|
7
|
-
before_install:
|
|
8
|
-
- gem update --system
|
|
9
|
-
- gem install bundler
|
|
10
|
-
deploy:
|
|
11
|
-
provider: rubygems
|
|
12
|
-
api_key:
|
|
13
|
-
secure: cIDF27JCirxxg7SXw6R+xxABMwCrrirJiJzljVxb/MdlRyUVaSW8XdZjOVyNgJkCx+vQOX4U+hp+p0xVI/Loh4EXkgbDvu2oGIAn/g1lfWabwKtdkFEviQn4tWvqDcEkxm5Hm6Gs0pFCaurqynMPNbsLVAEIiSw+la8LxEeeQ6I=
|
|
14
|
-
gem: cfndsl
|
|
15
|
-
on:
|
|
16
|
-
tags: true
|
|
17
|
-
repo: cfndsl/cfndsl
|
|
18
|
-
ruby: '2.7'
|
|
19
|
-
notifications:
|
|
20
|
-
email:
|
|
21
|
-
recipients:
|
|
22
|
-
- gergnz@gmail.com
|
|
23
|
-
on_failure: change
|
|
24
|
-
on_success: never
|