Skip to content

Commit 689c23b

Browse files
author
ljacobsson
committed
feat: SAM Policy Template support + autocomplete search
1 parent 09352c1 commit 689c23b

File tree

4 files changed

+101658
-2
lines changed

4 files changed

+101658
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## iam-policies-cli
22

3-
CLI for generating AWS IAM policy documents based on the [JSON definition](https://awspolicygen.s3.amazonaws.com/js/policies.js) used in the [AWS Policy Generator](https://awspolicygen.s3.amazonaws.com/policygen.html).
3+
CLI for generating AWS IAM policy documents or SAM policy templates based on the [JSON definition](https://awspolicygen.s3.amazonaws.com/js/policies.js) used in the [AWS Policy Generator](https://awspolicygen.s3.amazonaws.com/policygen.html).
44

55
Provide an optional SAM or CloudFormation template and it will let you reference resource ARNs using intrinsic functions for defined resources.
66

7-
The mapping of CloudFormation resource type -> the intrinsic function that returns the ARN is taken from a JSON representation of [this table](https://theburningmonk.com/cloudformation-ref-and-getatt-cheatsheet/) and might not be up-to-date with the latest releases.
7+
The mapping of CloudFormation resource type -> the intrinsic function that returns the ARN is based on the [cfn-lint schema for us-east-1](https://github.com/aws-cloudformation/cfn-python-lint/blob/master/src/cfnlint/data/CloudSpecs/us-east-1.json)
88

99
## Installation
1010
`npm install -g @mhlabs/iam-policies-cli`

0 commit comments

Comments
 (0)