Above is the policy i configure for the terraform user. While configuring the ec2 instance which has vpc and security group along with subnets I get the below error
Error retrieving KeyPair: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: 797f8dc1-933d-438d-a549-84328a258d6f
even though I have given key pair policy access not sure why I am getting this error.
If i create a amazon ec2fullacess policy then it works
Appreciate some pointers