I have a Terraform configuration targeting deployment on AWS. It applies beautifully when using an IAM user that has permission to do anything (i.e. {actions: [\"*\"],
{actions: [\"*\"],
Here is another approach, similar to what was said above, but without getting into CloudTrail -
TF_LOG=trace terraform apply --auto-approve &> log.log
cat log.log | grep "DEBUG: Request"
You will get a list of all AWS Actions used.