IAM Security Policies

I'm running with a number of corporate and personal AWS account profiles For each I have a name e.g

[personal]
aws_access_key_id = xxxxxxxxxxxxxxx
aws_secret_access_key = yyyyyyyyyyyyyyyyyyyyy    

And then for the serverless deploy add the aws profile name to the serverless.yml

provider:
  name: aws
  runtime: java8
  profile: personal

In order for the

sls deploy

https://console.aws.amazon.com/iam

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1449904348000",
            "Effect": "Allow",
            "Action": [
                "cloudformation:CreateStack",
                "cloudformation:CreateChangeSet",
                "cloudformation:ListStacks",
                "cloudformation:UpdateStack",
                "cloudformation:DescribeChangeSet",
                "cloudformation:ExecuteChangeSet",
                "iam:GetRole",
                "iam:CreateRole",
                "iam:PutRolePolicy"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

Serverless KMS Data

 
serverless.txt · Last modified: 2017/11/20 05:46 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd