diff --git a/changelogs/fragments/2141-rds-t3-m4.yml b/changelogs/fragments/2141-rds-t3-m4.yml new file mode 100644 index 00000000000..369cf24624a --- /dev/null +++ b/changelogs/fragments/2141-rds-t3-m4.yml @@ -0,0 +1,2 @@ +trivial: +- rds_instance - remove references to deprecated ``m4`` and ``t2`` RDS instance types (https://github.com/ansible-collections/amazon.aws/pull/2141). diff --git a/plugins/modules/rds_instance.py b/plugins/modules/rds_instance.py index 93daf654381..9f90e1b0790 100644 --- a/plugins/modules/rds_instance.py +++ b/plugins/modules/rds_instance.py @@ -120,7 +120,7 @@ type: str db_instance_class: description: - - The compute and memory capacity of the DB instance, for example db.t2.micro. + - The compute and memory capacity of the DB instance, for example V(db.t3.micro). aliases: - class - instance_type @@ -463,7 +463,7 @@ amazon.aws.rds_instance: engine: aurora db_instance_identifier: ansible-test-aurora-db-instance - instance_type: db.t2.small + instance_type: db.t3.small password: "{{ password }}" username: "{{ username }}" cluster_id: ansible-test-cluster # This cluster must exist - see rds_cluster to manage it @@ -474,7 +474,7 @@ state: present engine: mariadb storage_encrypted: true - db_instance_class: db.t2.medium + db_instance_class: db.t3.medium username: "{{ username }}" password: "{{ password }}" allocated_storage: "{{ allocated_storage }}" @@ -602,7 +602,7 @@ description: The name of the compute and memory capacity class of the DB instance. returned: always type: str - sample: db.m4.large + sample: db.m5.large db_instance_identifier: description: The identifier of the DB instance returned: always diff --git a/plugins/modules/rds_instance_info.py b/plugins/modules/rds_instance_info.py index 4fdcfa442e9..87e671d4bb8 100644 --- a/plugins/modules/rds_instance_info.py +++ b/plugins/modules/rds_instance_info.py @@ -91,7 +91,7 @@ description: Instance class of the database instance returned: always type: str - sample: db.t2.small + sample: db.t3.small db_instance_identifier: description: Database instance identifier returned: always