From 6d4b40dd9c82a7a5a647592c2c26c71295347369 Mon Sep 17 00:00:00 2001 From: Nate Arnold Date: Thu, 22 Aug 2024 10:41:20 -0600 Subject: [PATCH] feat: `avm/res/db-for-postgresql/flexible server` (#3088) ## Description Added support for PostgeSQL version 16. closes #2203 closes #1310 ## Pipeline Reference | Pipeline | | -------- | | [![avm.res.db-for-postgre-sql.flexible-server](https://github.com/arnoldna/bicep-registry-modules/actions/workflows/avm.res.db-for-postgre-sql.flexible-server.yml/badge.svg?branch=avm%2Fres%2Fdb-for-postgre-sql%2Fflexible-server)](https://github.com/arnoldna/bicep-registry-modules/actions/workflows/avm.res.db-for-postgre-sql.flexible-server.yml) | ## Type of Change - [ ] Update to CI Environment or utilities (Non-module affecting changes) - [X] Azure Verified Module updates: - [ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [X] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [X] Update to documentation ## Checklist - [X] I'm sure there are no other open Pull Requests for the same update/change - [X] I have run `Set-AVMModule` locally to generate the supporting module files. - [X] My corresponding pipelines / checks run clean and green without any errors or warnings --- avm/res/db-for-postgre-sql/flexible-server/README.md | 3 ++- avm/res/db-for-postgre-sql/flexible-server/main.bicep | 3 ++- avm/res/db-for-postgre-sql/flexible-server/main.json | 7 ++++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/avm/res/db-for-postgre-sql/flexible-server/README.md b/avm/res/db-for-postgre-sql/flexible-server/README.md index 6603dd7d6c..9bcd1bf2a3 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/README.md +++ b/avm/res/db-for-postgre-sql/flexible-server/README.md @@ -1518,7 +1518,7 @@ PostgreSQL Server version. - Required: No - Type: string -- Default: `'15'` +- Default: `'16'` - Allowed: ```Bicep [ @@ -1527,6 +1527,7 @@ PostgreSQL Server version. '13' '14' '15' + '16' ] ``` diff --git a/avm/res/db-for-postgre-sql/flexible-server/main.bicep b/avm/res/db-for-postgre-sql/flexible-server/main.bicep index f8e16c5582..fc8b5d923c 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/main.bicep +++ b/avm/res/db-for-postgre-sql/flexible-server/main.bicep @@ -89,9 +89,10 @@ param storageSizeGB int = 32 '13' '14' '15' + '16' ]) @description('Optional. PostgreSQL Server version.') -param version string = '15' +param version string = '16' @allowed([ 'Disabled' diff --git a/avm/res/db-for-postgre-sql/flexible-server/main.json b/avm/res/db-for-postgre-sql/flexible-server/main.json index 38e387fbae..3b358952cf 100644 --- a/avm/res/db-for-postgre-sql/flexible-server/main.json +++ b/avm/res/db-for-postgre-sql/flexible-server/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.29.47.4906", - "templateHash": "11155893103946575130" + "templateHash": "6369286683210643119" }, "name": "DBforPostgreSQL Flexible Servers", "description": "This module deploys a DBforPostgreSQL Flexible Server.", @@ -413,13 +413,14 @@ }, "version": { "type": "string", - "defaultValue": "15", + "defaultValue": "16", "allowedValues": [ "11", "12", "13", "14", - "15" + "15", + "16" ], "metadata": { "description": "Optional. PostgreSQL Server version."