This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020/06/30 14:52:24 [TRACE] [walkValidate] Entering eval tree: module.normalization.aws_lambda_function.normalization | |
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalSequence | |
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalGetProvider | |
2020/06/30 14:52:24 [TRACE] module.normalization: eval: *terraform.EvalValidateResource | |
2020/06/30 14:52:24 [WARN] module.normalization: eval: *terraform.EvalValidateResource, non-fatal err: "grantee_principal" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "sns.amazonaws.com" | |
2020/06/30 14:52:24 [ERROR] module.normalization: eval: *terraform.EvalSequence, err: "grantee_principal" doesn't look like a valid ARN ("^arn:[\\w-]+:([a-zA-Z0-9\\-])+:([a-z]{2}-(gov-)?[a-z]+-\\d{1})?:(\\d{12})?:(.*)$"): "sns.amazonaws.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ROLE_ARN_TO_ASSUME="arn:aws:iam::123456789012:role/myRole" | |
eval $(aws sts assume-role --role-arn ${ROLE_ARN_TO_ASSUME} --role-session-name test | jq -r '.Credentials | "export AWS_ACCESS_KEY_ID=\(.AccessKeyId)\nexport AWS_SECRET_ACCESS_KEY=\(.SecretAccessKey)\nexport AWS_SESSION_TOKEN=\(.SessionToken)\n"') |