Guidance for the AWS work
Budget: $10 – $30 USD
A small help for updating the .yml file to pick up it's own IAM rolename when package is run on their machine.
Eg: AWS account Id picks it's own by giving ${AWS::AccountId}. In the same way it has to pick the IAM rolename by referring to the IAM role.
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${AWS::AccountId}:role/<rolename>"
},
"Action": "sts:AssumeRole"
}
Eg: AWS account Id picks it's own by giving ${AWS::AccountId}. In the same way it has to pick the IAM rolename by referring to the IAM role.
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::${AWS::AccountId}:role/<rolename>"
},
"Action": "sts:AssumeRole"
}