Ansible ec2_asg module expiring AWS credentials if wait for long

I have ansible module which generates temp AWS credentials fro 15 mins.

My instances take about 20 mins to come up.

So Ansible ASG module keep waiting untill they pass health checks. But after mins my AWS credentails expire so i get error.

Is there any way to fix this problem