Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add supports_limitless_database to aws_rds_engine_version #37271

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/37271.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
data-source/aws_rds_engine_version: Add `supports_limitless_database` attribute
```
6 changes: 6 additions & 0 deletions internal/service/rds/engine_version_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions internal/service/rds/engine_version_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
1 change: 1 addition & 0 deletions website/docs/d/rds_engine_version.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading