Debian Codegraph @

ansible_collections/community/aws/README.md

raw
1 # Community AWS Collection
2
3 The Ansible Community AWS collection includes a variety of Ansible content to help automate the management of AWS services. This collection is maintained by the Ansible community.
4
5 AWS related modules and plugins supported by the Ansible Cloud team are in the [amazon.aws](https://github.com/ansible-collections/amazon.aws) collection.
6
7 ## Communication
8
9 * Join the Ansible forum:
10 * [Get Help](https://forum.ansible.com/c/help/6): get help or help others.
11 * [Posts tagged with 'aws'](https://forum.ansible.com/tag/aws): subscribe to participate in collection-related conversations.
12 * [AWS Working Group](https://forum.ansible.com/g/AWS): by joining the team you will automatically get subscribed to the posts tagged with [aws](https://forum.ansible.com/tags).
13 * [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
14 * [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
15
16 * The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
17
18 For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
19
20 ## Ansible version compatibility
21
22 Tested with the Ansible Core >= 2.17.0 versions, and the current development version of Ansible. Ansible Core versions before 2.17.0 are not supported.
23
24 Use community.aws 4.x.y if you are using Ansible 2.9 or Ansible Core 2.10.
25
26 ## Python version compatibility
27
28 This collection depends on the AWS SDK for Python (Boto3 and Botocore). Due to the
29 [AWS SDK Python Support Policy](https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)
30 this collection requires Python 3.8 or greater.
31
32 Amazon has also announced the planned end of support for
33 [Python less than 3.9](https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/).
34 As such, support for Python less than 3.9 will be removed in a release after 2026-05-01.
35
36 <!---
37 ### End of Support by Python Versions:
38
39 | Python Version | AWS SDK | Collection |
40 | -------------- | -------- | ---------- |
41 | 2.7 | July 2021 | Release 2.0.0 (September 2021) |
42 | 3.4 | February 2021 | Release 1.0.0 (June 2020) |
43 | 3.5 | February 2021 | Release 2.0.0 (September 2021) |
44 | 3.6 | May 2022 | Release 7.0.0 (November 2023) |
45 | 3.7 | December 2023 | *After December 2024* |
46 | 3.8 | April 2025 | *After April 2026* |
47 | 3.9 | April 2026 | *After April 2027* |
48 | 3.10 | April 2027 | *After April 2028* |
49 | 3.11 | April 2028 | *After April 2029* |
50 --->
51
52 ## AWS SDK version compatibility
53
54 Starting with the 2.0.0 releases of amazon.aws and community.aws, it is generally the collection's policy to support the versions of `botocore` and `boto3` that were released 12 months prior to the most recent major collection release, following semantic versioning (for example, 2.0.0, 3.0.0).
55
56 Version 11.0.0 of this collection supports `boto3 >= 1.35.0` and `botocore >= 1.35.0`
57
58 All support for the original AWS SDK `boto` was removed in release 4.0.0.
59
60 ## Included content
61 <!--start collection content-->
62 See the complete list of collection content in the [Plugin Index](https://ansible-collections.github.io/community.aws/branch/stable-11/collections/community/aws/index.html#plugin-index).
63
64 <!--end collection content-->
65
66 ## Installing this collection
67
68 You can install the AWS collection with the Ansible Galaxy CLI:
69
70 ansible-galaxy collection install community.aws
71
72 You can also include it in a `requirements.yml` file and install it with `ansible-galaxy collection install -r requirements.yml`, using the format:
73
74 ```yaml
75 ---
76 collections:
77 - name: community.aws
78
79 ```
80
81 A specific version of the collection can be installed by using the `version` keyword in the `requirements.yml` file:
82
83 ```yaml
84 ---
85 collections:
86 - name: community.aws
87 version: 3.1.1
88 ```
89
90 The python module dependencies are not installed by `ansible-galaxy`. They can
91 be manually installed using pip:
92
93 pip install -r requirements.txt
94
95 or:
96
97 pip install boto3 botocore
98
99 ## Using this collection
100
101 You can either call modules by their Fully Qualified Collection Name (FQCN), such as `community.aws.ec2_instance`, or you can call modules by their short name if you list the `community.aws` collection in the playbook's `collections` keyword:
102
103 ```yaml
104 ---
105 - name: Create a DB instance using the default AWS KMS encryption key
106 community.aws.rds_instance:
107 id: test-encrypted-db
108 state: present
109 engine: mariadb
110 storage_encrypted: True
111 db_instance_class: db.t2.medium
112 username: "{{ username }}"
113 password: "{{ password }}"
114 allocated_storage: "{{ allocated_storage }}"
115
116 ```
117
118
119 ### See Also:
120
121 * [Amazon Web Services Guide](https://docs.ansible.com/ansible/latest/collections/amazon/aws/docsite/guide_aws.html)
122 * [Ansible Using collections](https://docs.ansible.com/ansible/latest/user_guide/collections_using.html) for more details.
123
124 ## Contributing to this collection
125
126 We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the [Community AWS collection repository](https://github.com/ansible-collections/community.aws).
127 See [Contributing to Ansible-maintained collections](https://docs.ansible.com/ansible/devel/community/contributing_maintained_collections.html#contributing-maintained-collections) for more details.
128
129 ### More information about contributing
130
131 - [Ansible Community Guide](https://docs.ansible.com/ansible/latest/community/index.html) - Details on contributing to Ansible
132 - [Contributing to Collections](https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html#contributing-to-collections) - How to check out collection git repositories correctly
133 - [Guidelines for Ansible Amazon AWS module development](https://docs.ansible.com/ansible/latest/collections/amazon/aws/docsite/dev_guidelines.html)
134 - [Getting Started With AWS Ansible Module Development and Community Contribution](https://www.ansible.com/blog/getting-started-with-aws-ansible-module-development)
135
136 ## Release notes
137
138 See the [rendered changelog](https://ansible-collections.github.io/community.aws/branch/stable-11/collections/community/aws/docsite/CHANGELOG.html) or the [raw generated changelog](https://github.com/ansible-collections/community.aws/tree/stable-11/CHANGELOG.rst).
139
140 ## Roadmap
141
142 <!-- Optional. Include the roadmap for this collection, and the proposed release/versioning strategy so users can anticipate the upgrade/update cycle. -->
143
144 ## More information
145
146 - [Ansible Collection overview](https://github.com/ansible-collections/overview)
147 - [Ansible User guide](https://docs.ansible.com/ansible/latest/user_guide/index.html)
148 - [Ansible Developer guide](https://docs.ansible.com/ansible/latest/dev_guide/index.html)
149 - [Ansible Collection Developer Guide](https://docs.ansible.com/ansible/devel/dev_guide/developing_collections.html)
150 - [Ansible Community code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html)
151
152 ## Licensing
153
154 GNU General Public License v3.0 or later.
155
156 See [COPYING](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.