@ublend-npm/aws-iam-role

0.0.1 • Public • Published

aws-iam-role

Easily provision AWS IAM roles using Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm install -g serverless

2. Create

Just create a serverless.yml file

$ touch serverless.yml
$ touch .env      # your AWS api keys
# .env
AWS_ACCESS_KEY_ID=XXX
AWS_SECRET_ACCESS_KEY=XXX

3. Configure

# serverless.yml

myRole:
  component: "@serverless/aws-iam-role"
  inputs:
    service: lambda.amazonaws.com
    policy:
      arn: arn:aws:iam::aws:policy/AdministratorAccess
    region: us-east-1

4. Deploy

$ serverless

 

New to Components?

Checkout the Serverless Components repo for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @ublend-npm/aws-iam-role

Weekly Downloads

78

Version

0.0.1

License

Apache

Unpacked Size

93.6 kB

Total Files

13

Last publish

Collaborators

  • martin_it
  • zacharyaula
  • george-hanks
  • jackreynoldsaula
  • dorothyali-bjss
  • alastaireducation
  • joshpav
  • anastasija-anspoka
  • bryansamuel1
  • aulabot
  • cristina.radulescu.utcn
  • guicostaarantes
  • liddellj