Closed erikbor closed 6 years ago
Yes
@erikbor could you give a bit more detail here since @phuonghuynh can’t reproduce?
I believe this issue is that the newly re-created lambda function gets unlinked with the previously created IAM policy for the lambda function.
Hi @phuonghuynh,
After the
Use custom logname for API gateway
merge, we ranterraform init -upgrade && terraform get -update
. When I then tried to authenticate against the endpoint usingaws-authenticating-secgroup-scripts/post_it.sh
I got the the following response:When I deleted the Lambda and endpoint resources and ran
terraform apply
again I was able to successfully authenticate.I have seen this behaviour previously but wasn't able to replicate. Can you please investigate? Many thanks