Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Add AWS credentials Policy Permissions For CFN Deployer #408

Closed
jsetton opened this issue Aug 17, 2021 · 3 comments
Closed

Comments

@jsetton
Copy link
Contributor

jsetton commented Aug 17, 2021

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request 
[ ] Other... Please describe: 

Current Behavior

The official documentation related to creating AWS credentials to use with ASK CLI is missing the policy permissions necessary to use the CFN deployer.

https://developer.amazon.com/en-US/docs/alexa/smapi/manage-credentials-with-ask-cli.html#create-aws-credentials

Proposed Change

{
  "Version": "2012-10-17",
  "Statement": {
    "Effect": "Allow",
    "Action": [
      "cloudformation:CreateStack",
      "cloudformation:UpdateStack",
      "cloudformation:DescribeStacks",
      "cloudformation:DescribeStackResource",
      "cloudformation:DescribeStackResources",
      "iam:CreateRole",
      "iam:GetRole",
      "iam:AttachRolePolicy",
      "iam:PassRole",
      "lambda:AddPermission",
      "lambda:CreateFunction",
      "lambda:GetFunction",
      "lambda:UpdateFunctionCode",
      "lambda:UpdateFunctionConfiguration",
      "lambda:ListFunctions",
      "logs:FilterLogEvents",
      "logs:getLogEvents",
      "logs:describeLogStreams",
      "s3:CreateBucket",
      "s3:ListBucket",
      "s3:GetBucketVersioning",
      "s3:PutBucketVersioning",
      "s3:GetObject",
      "s3:PutObject"
    ],
    "Resource": "*"
  }
}
@CamdenFoucht
Copy link
Contributor

Than you for the proposed change, I will reach out and get the documentation updated!

@jsetton
Copy link
Contributor Author

jsetton commented Sep 18, 2023

@CamdenFoucht any chance the documentation will get updated?

@CamdenFoucht
Copy link
Contributor

Sorry for the lateness, the doc has been updated: https://developer.amazon.com/en-US/docs/alexa/smapi/manage-credentials-with-ask-cli.html#create-aws-credentials

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants