to post messages and comments.

← All posts tagged dev

This IAM Role trust relationship configuration allow IAM User from another account to assume current role

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::USER-ACCOUNT-ID:root"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"aws:username": "USER-NAME"
}
}
}
]
}

In case when SSL error occurred when you update gems (http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages):

— download update manually rubygems.org
— install update from local file system:

gem install --local .\rubygems-update-2.6.11.gem
update_rubygems
gem uninstall rubygems-update -x