# associating IAM role with AWS redshift cluster in ansible

**URL:** <https://forum.ansible.com/t/associating-iam-role-with-aws-redshift-cluster-in-ansible/32765>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [April 23, 2020, 12:01am UTC](https://forum.ansible.com/t/associating-iam-role-with-aws-redshift-cluster-in-ansible/32765 "2020-04-23T00:01:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raymond\_Yee](https://avatars.discourse-cdn.com/v4/letter/r/9fc29f/32.png) [@Raymond\_Yee](https://forum.ansible.com/u/Raymond_Yee)\
**Post date:** [April 23, 2020, 12:01am UTC](https://forum.ansible.com/t/associating-iam-role-with-aws-redshift-cluster-in-ansible/32765/1 "2020-04-23T00:01:08Z")

</div>

I would like to attach IAM roles to a redshift cluster in my ansible playbook but don’t see any parameter for IAM roles in the redshift module ([https://docs.ansible.com/ansible/latest/modules/redshift\_module.html](https://docs.ansible.com/ansible/latest/modules/redshift_module.html)). Such options do exist in the boto3 library ([https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift.html#Redshift.Client.create\_cluster](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift.html#Redshift.Client.create_cluster)) and the awscli ([https://docs.aws.amazon.com/cli/latest/reference/redshift/create-cluster.html](https://docs.aws.amazon.com/cli/latest/reference/redshift/create-cluster.html)). Any suggestions of what to do?

Thanks.

-Raymond Yee
