Deploy an ElasticBeanStalk environemnt with custom Auto Scaling Group(ASG)?

I can deploy the beanstalk and ASG separately but cannot configure the ASG of beanstalk according to my setting.i.e. and HealthCheckGracePeroid as 1500 HealthCheckGracePeroid as 1500 using Terraform