Skip to content

Commit 6365179

Browse files
Merged in release/1.4.0 (pull request #76)
[Release/1.4.0] to main
2 parents 8599ed9 + 9699e3b commit 6365179

File tree

99 files changed

+6073
-1666
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+6073
-1666
lines changed

bitbucket-pipelines.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Template python-build
2+
3+
# This template allows you to validate your python code.
4+
# The workflow allows running tests and code linting on the default branch.
5+
6+
image: python:3.8
7+
8+
pipelines:
9+
default:
10+
- step:
11+
name: Test
12+
caches:
13+
- pip
14+
script:
15+
- pip install .
16+
- pip install deepdiff
17+
- pip install responses
18+
- pip install pytest
19+
- pytest --junitxml=test-reports/report.xml

examples/cloudformation/iriusrisk-cft-mapping.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ components:
151151
tags:
152152
- { $path: "Type" }
153153

154+
- id: {$format: "{name}"}
155+
type: rds
156+
name: {$path: "_key"}
157+
$source: {$root: "Resources|squash(@)[?Type=='AWS::RDS::DBCluster']"}
158+
parent: b61d6911-338d-46a8-9f39-8dcd24abfe91
159+
tags:
160+
- { $path: "Type" }
154161

155162
- id: {$format: "{name}"}
156163
type: route-53
@@ -204,12 +211,12 @@ components:
204211
$mappingPath: {$path: "Properties.ServiceName"}
205212
$mappingLookups:
206213
- regex: ^(.*)ssm$
207-
name: {$numberOfSources: {oneSource:{$path: "_key"}, multipleSource:{ $format: "Systems Manager from VPCEndpoint (grouped)" }}}
214+
name: {$numberOfSources: {oneSource:{$path: "Type"}, multipleSource:{ $format: "Systems Manager from VPCEndpoint (grouped)" }}}
208215
type: CD-SYSTEMS-MANAGER
209216
tags:
210217
- {$numberOfSources: {oneSource:{$format: "AWS::EC2::VPCEndpoint"}, multipleSource:{ $format: "{_key} ({Type})"}}}
211218
- regex: ^(.*)ssmmessages$
212-
name: {$numberOfSources: {oneSource:{$path: "_key"}, multipleSource:{ $format: "Systems Manager from VPCEndpoint (grouped)" }}}
219+
name: {$numberOfSources: {oneSource:{$path: "Type"}, multipleSource:{ $format: "Systems Manager from VPCEndpoint (grouped)" }}}
213220
type: CD-SYSTEMS-MANAGER
214221
tags:
215222
- {$numberOfSources: {oneSource:{$format: "AWS::EC2::VPCEndpoint"}, multipleSource:{ $format: "{_key} ({Type})"}}}

0 commit comments

Comments
 (0)