Skip to content
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

Assume role for lambda fails at first try #148

Open
viveklak opened this issue Sep 30, 2021 · 0 comments
Open

Assume role for lambda fails at first try #148

viveklak opened this issue Sep 30, 2021 · 0 comments
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/bug Some behavior is incorrect or out of spec

Comments

@viveklak
Copy link
Contributor

viveklak commented Sep 30, 2021

Hello!

  • Vote on this issue by adding a 👍 reaction
  • To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

As discussed in #139 - initial apply of the specified example fails with:

operation CREATE failed with "InvalidRequest": The role defined for the function cannot be assumed by Lambda. (Service: Lambda, Status Code: 400, Request ID: 78882e88-526d-49d5-a3d6-a383ce69b074, Extended Request ID: null).

This seems like an eventual consistency issue with cloudcontrol API? Similar issue filed in TF: hashicorp/terraform-provider-awscc#221

Steps to reproduce

Run example in https://github.com/pulumi/pulumi-aws-native/tree/master/examples/aws-native-ts-stepfunctions

Expected: Success
Actual:
On first run:

operation CREATE failed with "InvalidRequest": The role defined for the function cannot be assumed by Lambda. (Service: Lambda, Status Code: 400, Request ID: 78882e88-526d-49d5-a3d6-a383ce69b074, Extended Request ID: null).

Subsequent updates succeed.

@viveklak viveklak added kind/bug Some behavior is incorrect or out of spec awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). labels Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

1 participant