From a46d44bbbb40e184be903a847c7eea7412ebb7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josip=20Maja=C4=8Da?= Date: Sat, 4 May 2024 16:39:38 +0200 Subject: [PATCH 1/3] Add supports_limitless_database attribute --- internal/service/rds/engine_version_data_source.go | 6 ++++++ internal/service/rds/engine_version_data_source_test.go | 1 + 2 files changed, 7 insertions(+) diff --git a/internal/service/rds/engine_version_data_source.go b/internal/service/rds/engine_version_data_source.go index a370148391a..06288f95a04 100644 --- a/internal/service/rds/engine_version_data_source.go +++ b/internal/service/rds/engine_version_data_source.go @@ -135,6 +135,11 @@ func DataSourceEngineVersion() *schema.Resource { Computed: true, }, + "supports_limitless_database": { + Type: schema.TypeBool, + Computed: true, + }, + "supports_log_exports_to_cloudwatch": { Type: schema.TypeBool, Computed: true, @@ -436,6 +441,7 @@ func dataSourceEngineVersionRead(ctx context.Context, d *schema.ResourceData, me d.Set("supported_timezones", timezones) d.Set("supports_global_databases", found.SupportsGlobalDatabases) + d.Set("supports_limitless_database", found.SupportsLimitlessDatabase) d.Set("supports_log_exports_to_cloudwatch", found.SupportsLogExportsToCloudwatchLogs) d.Set("supports_parallel_query", found.SupportsParallelQuery) d.Set("supports_read_replica", found.SupportsReadReplica) diff --git a/internal/service/rds/engine_version_data_source_test.go b/internal/service/rds/engine_version_data_source_test.go index e1c4497d714..b89e29ae0ff 100644 --- a/internal/service/rds/engine_version_data_source_test.go +++ b/internal/service/rds/engine_version_data_source_test.go @@ -48,6 +48,7 @@ func TestAccRDSEngineVersionDataSource_basic(t *testing.T) { resource.TestMatchResourceAttr(dataSourceName, "supported_modes.#", regexache.MustCompile(`^[0-9]*`)), resource.TestMatchResourceAttr(dataSourceName, "supported_timezones.#", regexache.MustCompile(`^[0-9]*`)), resource.TestCheckResourceAttrSet(dataSourceName, "supports_global_databases"), + resource.TestCheckResourceAttrSet(dataSourceName, "supports_limitless_database"), resource.TestCheckResourceAttrSet(dataSourceName, "supports_log_exports_to_cloudwatch"), resource.TestCheckResourceAttrSet(dataSourceName, "supports_parallel_query"), resource.TestCheckResourceAttrSet(dataSourceName, "supports_read_replica"), From 4c95428962067c29cac4a1e7f5d45ae9d2f81ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josip=20Maja=C4=8Da?= Date: Sat, 4 May 2024 16:43:05 +0200 Subject: [PATCH 2/3] Add changelog --- .changelog/37271.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/37271.txt diff --git a/.changelog/37271.txt b/.changelog/37271.txt new file mode 100644 index 00000000000..33c9f46c148 --- /dev/null +++ b/.changelog/37271.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +data-source/aws_rds_engine_version: Add `supports_limitless_database` attribute +``` \ No newline at end of file From 77d70d82e08135ed63ee8d16c48435945df209e0 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Thu, 6 Jun 2024 12:54:11 -0500 Subject: [PATCH 3/3] aws_rds_engine_version: update documentation --- website/docs/d/rds_engine_version.html.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/d/rds_engine_version.html.markdown b/website/docs/d/rds_engine_version.html.markdown index bcab82474f5..dde0c3d022c 100644 --- a/website/docs/d/rds_engine_version.html.markdown +++ b/website/docs/d/rds_engine_version.html.markdown @@ -70,6 +70,7 @@ This data source exports the following attributes in addition to the arguments a * `supported_timezones` - Set of the time zones supported by the engine version. * `supports_global_databases` - Whether you can use Aurora global databases with the engine version. * `supports_log_exports_to_cloudwatch` - Whether the engine version supports exporting the log types specified by `exportable_log_types` to CloudWatch Logs. +* `supports_limitless_database` - Whether the engine version supports Aurora Limitless Database. * `supports_parallel_query` - Whether you can use Aurora parallel query with the engine version. * `supports_read_replica` - Whether the engine version supports read replicas. * `valid_major_targets` - Set of versions that are valid major version upgrades for the engine version.