You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
#terraforming sg --profile admin
Getting error "
credentials_set?': undefined method
access_key_id' for nil:NilClass (NoMethodError)" while trying to use terraforming.My config and credentials files as below -
$ cat .aws/config
[default]
region = us-east-1
[profile admin]
region = us-east-1
role_arn = arn:aws:iam::AccountID:role/admin
source_profile = default
[profile readonly]
region = us-east-1
role_arn = arn:aws:iam::AccountID:role/readonly
source_profile = default
$ cat .aws/credentials
[default]
aws_access_key_id = Access key
aws_secret_access_key = Secret key
The same configuration is working fine in another account where I don't have any profile,only changing access key and secret key.
ruby --version
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
Tried terraforming sg --profile admin --assume arn:aws:iam::accountID:role/admin but getting same error.
aws cli working fine with these credentials.
aws iam list-users --profile admin
Is there any way to fix this ?
The text was updated successfully, but these errors were encountered: