Shell Script inside Terraform

Hi All, We are using Terraform to provision EKS cluster.
I am trying to run a shell script inside terraform after the EKS master and autoscaling group completed., the module looks like below


I want to pass the eks cluster name in the shell script.