From 4dfe0e15fcfe79bfd72ff230505ee850d6da43f1 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Thu, 3 Nov 2022 16:09:50 +0100 Subject: [PATCH] Bump MariaDB versions for RDS tests (#1238) Bump MariaDB versions for RDS tests MariaDB 10.3.31 is not available anymore. This results in the following exception: botocore.exceptions.ClientError: An error occurred (InvalidParameterCombination) when calling the CreateDBInstance operation: Cannot find version 10.3.31 for mariadb To get a list of the version available: $ aws rds describe-db-engine-versions --engine mariadb --query "DBEngineVersions[].EngineVersion" --- changelogs/fragments/rds_mariadb_version-10.6.10.yml | 2 ++ .../targets/rds_instance_complex/defaults/main.yml | 2 +- .../integration/targets/rds_instance_modify/defaults/main.yml | 2 +- .../targets/rds_instance_snapshot/defaults/main.yml | 2 +- .../targets/rds_instance_upgrade/defaults/main.yml | 4 ++-- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 changelogs/fragments/rds_mariadb_version-10.6.10.yml diff --git a/changelogs/fragments/rds_mariadb_version-10.6.10.yml b/changelogs/fragments/rds_mariadb_version-10.6.10.yml new file mode 100644 index 00000000000..75ab629e554 --- /dev/null +++ b/changelogs/fragments/rds_mariadb_version-10.6.10.yml @@ -0,0 +1,2 @@ +trivial: +- Bump test MariaDB version to 10.6.10 - 10.3.31 no longer available diff --git a/tests/integration/targets/rds_instance_complex/defaults/main.yml b/tests/integration/targets/rds_instance_complex/defaults/main.yml index 8ed85230122..fd3a29a799c 100644 --- a/tests/integration/targets/rds_instance_complex/defaults/main.yml +++ b/tests/integration/targets/rds_instance_complex/defaults/main.yml @@ -13,4 +13,4 @@ storage_type: io1 iops: 1000 # For mariadb tests -mariadb_engine_version: 10.3.31 +mariadb_engine_version: 10.6.10 diff --git a/tests/integration/targets/rds_instance_modify/defaults/main.yml b/tests/integration/targets/rds_instance_modify/defaults/main.yml index f1503230004..fafb0becc21 100644 --- a/tests/integration/targets/rds_instance_modify/defaults/main.yml +++ b/tests/integration/targets/rds_instance_modify/defaults/main.yml @@ -6,4 +6,4 @@ db_instance_class: db.t3.micro allocated_storage: 20 # For mariadb tests -mariadb_engine_version: 10.3.31 +mariadb_engine_version: 10.6.10 diff --git a/tests/integration/targets/rds_instance_snapshot/defaults/main.yml b/tests/integration/targets/rds_instance_snapshot/defaults/main.yml index 235bc5ba2a0..b480137fcab 100644 --- a/tests/integration/targets/rds_instance_snapshot/defaults/main.yml +++ b/tests/integration/targets/rds_instance_snapshot/defaults/main.yml @@ -8,7 +8,7 @@ password: "{{ lookup('password', '/dev/null') }}" db_instance_class: db.t3.micro allocated_storage: 10 engine: 'mariadb' -mariadb_engine_version: 10.3.31 +mariadb_engine_version: 10.6.10 # Create snapshot snapshot_id: '{{ instance_id }}-snapshot' diff --git a/tests/integration/targets/rds_instance_upgrade/defaults/main.yml b/tests/integration/targets/rds_instance_upgrade/defaults/main.yml index 7cb826f0f8c..ff9bc3b47fe 100644 --- a/tests/integration/targets/rds_instance_upgrade/defaults/main.yml +++ b/tests/integration/targets/rds_instance_upgrade/defaults/main.yml @@ -6,5 +6,5 @@ db_instance_class: db.t3.micro allocated_storage: 20 # For mariadb tests -mariadb_engine_version: 10.3.31 -mariadb_engine_version_2: 10.4.21 +mariadb_engine_version: 10.5.17 +mariadb_engine_version_2: 10.6.10