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 diff --git a/internal/service/rds/engine_version_data_source.go b/internal/service/rds/engine_version_data_source.go index a51d2117fd1..19431053a6b 100644 --- a/internal/service/rds/engine_version_data_source.go +++ b/internal/service/rds/engine_version_data_source.go @@ -136,6 +136,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, @@ -437,6 +442,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 489824a8963..53537119ed2 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"), 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.