This Terraform model can be used to create IAM roles and attaching multiple policies to the roles
This code is written in module; (i.e) you can reuse them by replacing the variable
"Role.tf" - module file. "Variable.tf" - variable files. "source.tf" . - push your state file into S3 bucket so you can reuse do change / destroy.