-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use IAM Role to deploy #44
Comments
+1 |
2 similar comments
+1 |
+1 |
Does this not work? https://github.com/aws-actions/configure-aws-credentials That action takes an ARN and sets the env-vars so other things don't need to do anything out of the normal AWS api sdk behavior of check/user auth in env-vars |
Does it work? I have been unable to get it to work using
and the But I always get an |
Did you link GHA to IAM? |
I'm not using this action any longer because of this limitation, but the "The environment variables will be detected by both the AWS SDKs and the AWS CLI to determine the credentials and region to use for AWS API calls." This action appears to be a minor wrapper around two other Go repos: apex/gateway and gin-gonic/gin. I don't code in Go, but it appears apex/gateway does pull in aws/aws-lambda-go... so maybe? |
Yup. I can use i.e. the AWS CLI after configuring this way; it's only |
When using |
I will take it and already merge in appleboy/drone-lambda#20 |
If you're assuming roles to deploy your lambdas, which is AWS best practice, this action will not work as it only takes a AWS IAM Key and Secret Key for credentials. The role parameter is only to set the target lambda's execution role.
Adding an option to assume-role for deploys would be great.
The text was updated successfully, but these errors were encountered: