Reputation: 1803
There are many tutorials on publishing to AWS Beanstalk on windows using AWS Visual Studio SDK (2019). What is left out is setting up the permissions in AWS.
I have create a new account on AWS. I created a User Group and added a User to it.
My group has the following permissions:
but to no avail.
Current error:
User: arn:aws:iam::xxx:user/BeanstalkPublish is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-west-1:yyy:parameter/cdk-bootstrap/hnb659fds/version because no identity-based policy allows the ssm:GetParameter action
I am completely new to AWS.
Upvotes: 0
Views: 84
Reputation: 238329
You can add an inline policy to your user or group:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "ssm:GetParameter",
"Resource": "*"
}
]
}
If you want, you can replace "*"
with "arn:aws:ssm:us-west-1:yyy:parameter/cdk-bootstrap/hnb659fds/*"
to limit the permissions to only the parameter you want.
Upvotes: 1