Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redshift: add associated iam roles possiblity #1961

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KamilBlaz
Copy link

SUMMARY

Fixes: #1880
Add add associated iam roles feature

ISSUE TYPE
  • Bugfix Pull Request
  • Docs Pull Request
  • Feature Pull Request
  • New Module Pull Request
COMPONENT NAME

redshift

ADDITIONAL INFORMATION

@github-actions
Copy link

Docs Build 📝

Thank you for contribution!✨

The docsite for this PR is available for download as an artifact from this run:
https://github.com/ansible-collections/community.aws/actions/runs/6350448152

You can compare to the docs for the main branch here:
https://ansible-collections.github.io/community.aws/branch/main

File changes:

  • M collections/community/aws/redshift_module.html
Click to see the diff comparison.

NOTE: only file modifications are shown here. New and deleted files are excluded.
See the file list and check the published docs to see those files.

diff --git a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/redshift_module.html b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/redshift_module.html
index 5a84aa4..f971f8f 100644
--- a/home/runner/work/community.aws/community.aws/docsbuild/base/collections/community/aws/redshift_module.html
+++ b/home/runner/work/community.aws/community.aws/docsbuild/head/collections/community/aws/redshift_module.html
@@ -212,6 +212,13 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </div></td>
 </tr>
 <tr class="row-even"><td><div class="ansible-option-cell">
+<div class="ansibleOptionAnchor" id="parameter-associated_iam_roles"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-associated-iam-roles"><strong>associated_iam_roles</strong></p>
+<a class="ansibleOptionLink" href="#parameter-associated_iam_roles" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">list</span> / <span class="ansible-option-elements">elements=string</span></p>
+</div></td>
+<td><div class="ansible-option-cell"><p>A list of Identity and Access Management (IAM) roles.</p>
+</div></td>
+</tr>
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-automated_snapshot_retention_period"></div>
 <div class="ansibleOptionAnchor" id="parameter-retention_period"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-retention-period"><span id="ansible-collections-community-aws-redshift-module-parameter-automated-snapshot-retention-period"></span><strong>automated_snapshot_retention_period</strong></p>
 <a class="ansibleOptionLink" href="#parameter-automated_snapshot_retention_period" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: retention_period</span></p>
@@ -220,7 +227,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>The number of days that automated snapshots are retained.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-availability_zone"></div>
 <div class="ansibleOptionAnchor" id="parameter-zone"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_zone"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-zone"><span id="ansible-collections-community-aws-redshift-module-parameter-aws-zone"></span><span id="ansible-collections-community-aws-redshift-module-parameter-availability-zone"></span><strong>availability_zone</strong></p>
@@ -230,7 +237,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>Availability zone in which to launch cluster.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-aws_ca_bundle"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-aws-ca-bundle"><strong>aws_ca_bundle</strong></p>
 <a class="ansibleOptionLink" href="#parameter-aws_ca_bundle" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">path</span></p>
 </div></td>
@@ -238,7 +245,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>The <code class="docutils literal notranslate"><span class="pre">AWS_CA_BUNDLE</span></code> environment variable may also be used.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-aws_config"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-aws-config"><strong>aws_config</strong></p>
 <a class="ansibleOptionLink" href="#parameter-aws_config" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">dictionary</span></p>
 </div></td>
@@ -246,7 +253,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Parameters can be found in the AWS documentation <a class="reference external" href="https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config">https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config</a>.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-cluster_parameter_group_name"></div>
 <div class="ansibleOptionAnchor" id="parameter-param_group_name"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-param-group-name"><span id="ansible-collections-community-aws-redshift-module-parameter-cluster-parameter-group-name"></span><strong>cluster_parameter_group_name</strong></p>
 <a class="ansibleOptionLink" href="#parameter-cluster_parameter_group_name" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: param_group_name</span></p>
@@ -255,7 +262,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>Name of the cluster parameter group.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-cluster_security_groups"></div>
 <div class="ansibleOptionAnchor" id="parameter-security_groups"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-security-groups"><span id="ansible-collections-community-aws-redshift-module-parameter-cluster-security-groups"></span><strong>cluster_security_groups</strong></p>
 <a class="ansibleOptionLink" href="#parameter-cluster_security_groups" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: security_groups</span></p>
@@ -264,7 +271,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>In which security group the cluster belongs.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-cluster_subnet_group_name"></div>
 <div class="ansibleOptionAnchor" id="parameter-subnet"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-subnet"><span id="ansible-collections-community-aws-redshift-module-parameter-cluster-subnet-group-name"></span><strong>cluster_subnet_group_name</strong></p>
 <a class="ansibleOptionLink" href="#parameter-cluster_subnet_group_name" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: subnet</span></p>
@@ -273,7 +280,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>Which subnet to place the cluster.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-cluster_type"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-cluster-type"><strong>cluster_type</strong></p>
 <a class="ansibleOptionLink" href="#parameter-cluster_type" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -285,7 +292,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-cluster_version"></div>
 <div class="ansibleOptionAnchor" id="parameter-version"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-version"><span id="ansible-collections-community-aws-redshift-module-parameter-cluster-version"></span><strong>cluster_version</strong></p>
 <a class="ansibleOptionLink" href="#parameter-cluster_version" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: version</span></p>
@@ -298,7 +305,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-command"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-command"><strong>command</strong></p>
 <a class="ansibleOptionLink" href="#parameter-command" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span> / <span class="ansible-option-required">required</span></p>
 </div></td>
@@ -312,14 +319,14 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-db_name"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-db-name"><strong>db_name</strong></p>
 <a class="ansibleOptionLink" href="#parameter-db_name" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
 <td><div class="ansible-option-cell"><p>Name of the database.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-debug_botocore_endpoint_logs"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-debug-botocore-endpoint-logs"><strong>debug_botocore_endpoint_logs</strong></p>
 <a class="ansibleOptionLink" href="#parameter-debug_botocore_endpoint_logs" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -332,14 +339,14 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-elastic_ip"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-elastic-ip"><strong>elastic_ip</strong></p>
 <a class="ansibleOptionLink" href="#parameter-elastic_ip" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
 <td><div class="ansible-option-cell"><p>An Elastic IP to use for the cluster.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-encrypted"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-encrypted"><strong>encrypted</strong></p>
 <a class="ansibleOptionLink" href="#parameter-encrypted" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -351,7 +358,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-endpoint_url"></div>
 <div class="ansibleOptionAnchor" id="parameter-ec2_url"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_endpoint_url"></div>
@@ -365,7 +372,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Support for the <code class="docutils literal notranslate"><span class="pre">EC2_URL</span></code> environment variable has been deprecated and will be removed in a release after 2024-12-01.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-enhanced_vpc_routing"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-enhanced-vpc-routing"><strong>enhanced_vpc_routing</strong></p>
 <a class="ansibleOptionLink" href="#parameter-enhanced_vpc_routing" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -377,7 +384,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-final_cluster_snapshot_identifier"></div>
 <div class="ansibleOptionAnchor" id="parameter-final_snapshot_id"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-final-snapshot-id"><span id="ansible-collections-community-aws-redshift-module-parameter-final-cluster-snapshot-identifier"></span><strong>final_cluster_snapshot_identifier</strong></p>
 <a class="ansibleOptionLink" href="#parameter-final_cluster_snapshot_identifier" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: final_snapshot_id</span></p>
@@ -388,14 +395,14 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Used only when <em>command=delete</em>.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-identifier"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-identifier"><strong>identifier</strong></p>
 <a class="ansibleOptionLink" href="#parameter-identifier" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span> / <span class="ansible-option-required">required</span></p>
 </div></td>
 <td><div class="ansible-option-cell"><p>Redshift cluster identifier.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-new_cluster_identifier"></div>
 <div class="ansibleOptionAnchor" id="parameter-new_identifier"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-new-identifier"><span id="ansible-collections-community-aws-redshift-module-parameter-new-cluster-identifier"></span><strong>new_cluster_identifier</strong></p>
 <a class="ansibleOptionLink" href="#parameter-new_cluster_identifier" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: new_identifier</span></p>
@@ -404,7 +411,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>Only used when command=modify.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-node_type"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-node-type"><strong>node_type</strong></p>
 <a class="ansibleOptionLink" href="#parameter-node_type" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -426,7 +433,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-number_of_nodes"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-number-of-nodes"><strong>number_of_nodes</strong></p>
 <a class="ansibleOptionLink" href="#parameter-number_of_nodes" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
 </div></td>
@@ -434,7 +441,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Only used when <em>cluster_type=multi-node</em>.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-password"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-password"><strong>password</strong></p>
 <a class="ansibleOptionLink" href="#parameter-password" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -442,14 +449,14 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Used only when <em>command=create</em>.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-port"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-port"><strong>port</strong></p>
 <a class="ansibleOptionLink" href="#parameter-port" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
 </div></td>
 <td><div class="ansible-option-cell"><p>Which port the cluster is listening on.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-preferred_maintenance_window"></div>
 <div class="ansibleOptionAnchor" id="parameter-maintance_window"></div>
 <div class="ansibleOptionAnchor" id="parameter-maint_window"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-preferred-maintenance-window"><span id="ansible-collections-community-aws-redshift-module-parameter-maintance-window"></span><span id="ansible-collections-community-aws-redshift-module-parameter-maint-window"></span><strong>preferred_maintenance_window</strong></p>
@@ -461,7 +468,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>If not specified then a random 30 minute maintenance window is assigned.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-profile"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_profile"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-profile"><span id="ansible-collections-community-aws-redshift-module-parameter-aws-profile"></span><strong>profile</strong></p>
 <a class="ansibleOptionLink" href="#parameter-profile" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: aws_profile</span></p>
@@ -473,7 +480,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>The <em>profile</em> option is mutually exclusive with the <em>aws_access_key</em>, <em>aws_secret_key</em> and <em>security_token</em> options.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-publicly_accessible"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-publicly-accessible"><strong>publicly_accessible</strong></p>
 <a class="ansibleOptionLink" href="#parameter-publicly_accessible" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -485,7 +492,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-purge_tags"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-purge-tags"><strong>purge_tags</strong></p>
 <a class="ansibleOptionLink" href="#parameter-purge_tags" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -499,7 +506,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-region"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_region"></div>
 <div class="ansibleOptionAnchor" id="parameter-ec2_region"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-region"><span id="ansible-collections-community-aws-redshift-module-parameter-ec2-region"></span><span id="ansible-collections-community-aws-redshift-module-parameter-aws-region"></span><strong>region</strong></p>
@@ -514,7 +521,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Support for the <code class="docutils literal notranslate"><span class="pre">EC2_REGION</span></code> environment variable has been deprecated and will be removed in a release after 2024-12-01.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-secret_key"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_secret_access_key"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_secret_key"></div>
@@ -531,7 +538,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Support for the <code class="docutils literal notranslate"><span class="pre">EC2_SECRET_KEY</span></code> environment variable has been deprecated and will be removed in a release after 2024-12-01.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-session_token"></div>
 <div class="ansibleOptionAnchor" id="parameter-aws_session_token"></div>
 <div class="ansibleOptionAnchor" id="parameter-security_token"></div>
@@ -549,7 +556,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Support for the <code class="docutils literal notranslate"><span class="pre">EC2_SECRET_KEY</span></code> and <code class="docutils literal notranslate"><span class="pre">AWS_SECURITY_TOKEN</span></code> environment variables has been deprecated and will be removed in a release after 2024-12-01.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-skip_final_cluster_snapshot"></div>
 <div class="ansibleOptionAnchor" id="parameter-skip_final_snapshot"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-skip-final-snapshot"><span id="ansible-collections-community-aws-redshift-module-parameter-skip-final-cluster-snapshot"></span><strong>skip_final_cluster_snapshot</strong></p>
 <a class="ansibleOptionLink" href="#parameter-skip_final_cluster_snapshot" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: skip_final_snapshot</span></p>
@@ -564,7 +571,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-tags"></div>
 <div class="ansibleOptionAnchor" id="parameter-resource_tags"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-tags"><span id="ansible-collections-community-aws-redshift-module-parameter-resource-tags"></span><strong>tags</strong></p>
 <a class="ansibleOptionLink" href="#parameter-tags" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: resource_tags</span></p>
@@ -574,7 +581,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>If the <em>tags</em> parameter is not set then tags will not be modified.</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-username"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-username"><strong>username</strong></p>
 <a class="ansibleOptionLink" href="#parameter-username" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -582,7 +589,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p>Used only when <em>command=create</em>.</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-validate_certs"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-validate-certs"><strong>validate_certs</strong></p>
 <a class="ansibleOptionLink" href="#parameter-validate_certs" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -595,7 +602,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-vpc_security_group_ids"></div>
 <div class="ansibleOptionAnchor" id="parameter-vpc_security_groups"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-vpc-security-groups"><span id="ansible-collections-community-aws-redshift-module-parameter-vpc-security-group-ids"></span><strong>vpc_security_group_ids</strong></p>
 <a class="ansibleOptionLink" href="#parameter-vpc_security_group_ids" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-aliases">aliases: vpc_security_groups</span></p>
@@ -604,7 +611,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <td><div class="ansible-option-cell"><p>VPC security group</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-wait"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-wait"><strong>wait</strong></p>
 <a class="ansibleOptionLink" href="#parameter-wait" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -617,7 +624,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-wait_timeout"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-parameter-wait-timeout"><strong>wait_timeout</strong></p>
 <a class="ansibleOptionLink" href="#parameter-wait_timeout" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
 </div></td>
@@ -677,6 +684,15 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 </div></td>
 </tr>
 <tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<div class="ansibleOptionAnchor" id="return-cluster/associated_iam_roles"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-associated-iam-roles"><strong>associated_iam_roles</strong></p>
+<a class="ansibleOptionLink" href="#return-cluster/associated_iam_roles" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">list</span> / <span class="ansible-option-elements">elements=string</span></p>
+</div></td>
+<td><div class="ansible-option-indent-desc"></div><div class="ansible-option-cell"><p>Amazon IAM roles associated with the cluster.</p>
+<p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> success</p>
+<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[&quot;arn:aws:iam::123456789012:role/AWSIAMRoleForRedShift&quot;]</span></code></p>
+</div></td>
+</tr>
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/availability_zone"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-availability-zone"><strong>availability_zone</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/availability_zone" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -685,7 +701,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;us-east-1b&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/create_time"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-create-time"><strong>create_time</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/create_time" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">float</span></p>
 </div></td>
@@ -694,7 +710,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">1430158536.308</span></code></p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/db_name"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-db-name"><strong>db_name</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/db_name" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -703,7 +719,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;new_db_name&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/enhanced_vpc_routing"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-enhanced-vpc-routing"><strong>enhanced_vpc_routing</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/enhanced_vpc_routing" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 </div></td>
@@ -711,7 +727,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> success</p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/identifier"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-identifier"><strong>identifier</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/identifier" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -720,7 +736,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;new_redshift_cluster&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/maintenance_window"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-maintenance-window"><strong>maintenance_window</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/maintenance_window" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -729,7 +745,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;sun:09:30-sun:10:00&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/port"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-port"><strong>port</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/port" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
 </div></td>
@@ -738,7 +754,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">5439</span></code></p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/private_ip_address"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-private-ip-address"><strong>private_ip_address</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/private_ip_address" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -747,7 +763,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;10.10.10.10&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/public_ip_address"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-public-ip-address"><strong>public_ip_address</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/public_ip_address" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -756,7 +772,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;0.0.0.0&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/status"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-status"><strong>status</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/status" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -765,7 +781,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">&quot;available&quot;</span></code></p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/tags"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-tags"><strong>tags</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/tags" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">dictionary</span></p>
 </div></td>
@@ -773,7 +789,7 @@ see <a class="reference internal" href="#ansible-collections-community-aws-redsh
 <p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> success</p>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="return-cluster/url"></div><p class="ansible-option-title" id="ansible-collections-community-aws-redshift-module-return-cluster-url"><strong>url</strong></p>
 <a class="ansibleOptionLink" href="#return-cluster/url" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/bb4a16d731424b8d9b3125fbc162586a

✔️ ansible-galaxy-importer SUCCESS in 4m 16s (non-voting)
✔️ build-ansible-collection SUCCESS in 12m 56s
✔️ ansible-test-splitter SUCCESS in 4m 45s
✔️ integration-community.aws-1 SUCCESS in 20m 04s
Skipped 21 jobs

Copy link
Contributor

@alinabuzachis alinabuzachis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KamilBlaz Thank you for taking time to work on this new feature. Can you please add a changelog fragment https://docs.ansible.com/ansible/latest/community/development_process.html#creating-a-changelog-fragment and cover the new functionality with integration/unit tests?

associated_iam_roles:
description:
- A list of Identity and Access Management (IAM) roles.
type: list
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add version_added: 8.1.0

description: Amazon IAM roles associated with the cluster.
returned: success
type: list
sample: "arn:aws:iam::123456789012:role/AWSIAMRoleForRedShift"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add version_added: 8.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Associated IAM role to Redshift cluster
3 participants