new file: projects/github.com/aws-cloudformation/cfn-lint/package.yml

new file:   projects/github.com/aws-cloudformation/cfn-lint/test.yml
This commit is contained in:
andrejrabcenko 2023-09-08 13:01:06 +03:00 committed by Jacob Heider
parent aa436de856
commit 8c98285946
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,21 @@
distributable:
url: https://github.com/aws-cloudformation/cfn-lint/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: aws-cloudformation/cfn-lint
dependencies:
python.org: ^3.11
pyyaml.org: '*'
github.com/benjaminp/six: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
rust-lang.org: '*'
script:
- python-venv.sh {{prefix}}/bin/cfn-lint
provides:
- bin/cfn-lint
test:
script:
- cfn-lint test.yml
- cfn-lint -v | grep {{version}}

View file

@ -0,0 +1,11 @@
---
AWSTemplateFormatVersion: '2010-09-09'
Resources:
# Helps tests map resource types
IamPipeline:
Type: "AWS::CloudFormation::Stack"
Properties:
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/bucket-dne-${AWS::Region}/${AWS::AccountId}/pipeline.yaml'
Parameters:
DeploymentName: iam-pipeline
Deploy: 'auto'