serverless-attach-managed-policy

0.0.7 • Public • Published

serverless-attach-managed-policy

serverless

A serverless plugin to automatically attach an AWS Managed IAM Policy (or Policies) to all IAM Roles created by the Service.

Install

npm install --save-dev serverless-attach-managed-policy

Add the plugin to your serverless.yml file:

plugins:
  - serverless-attach-managed-policy

Configuration

For a single Policy.

provider:
  name: aws
  managedPolicyArns: 'arn:aws:iam::789763425617:policy/someteam/MyManagedPolicy-3QUG1777293EJ'

For a multiple Policies.

provider:
  name: aws
  managedPolicyArns:
    - 'arn:aws:iam::789763425617:policy/someteam/MyManagedPolicy-3QUG1777293EJ'
    - 'arn:aws:iam::789763425617:policy/someteam/AnotherManagedPolicy-F6NZ1321293EJ'

Package Sidebar

Install

npm i serverless-attach-managed-policy

Weekly Downloads

1,440

Version

0.0.7

License

Apache-2.0

Unpacked Size

59.9 kB

Total Files

16

Last publish

Collaborators

  • feli.pe
  • tfrego
  • serverless-nordstrom
  • gwsii