Repository navigation
feat(misconf): read version of azurerm_postgresql_flexible_server - #11781
Open
bryanwahyu wants to merge 1 commit into
Open
bryanwahyu wants to merge 1 commit into
bryanwahyu wants to merge 1 commit into
Conversation
AZU-0021 needs the server version to skip PostgreSQL 18 and later, which no longer have the connection_throttle.enable parameter.
|
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
VersiontoPostgreSQLServerand reads it fromversionofazurerm_postgresql_flexible_server. AZU-0021 can then skip flexible servers on PostgreSQL 18 and later, which do not haveconnection_throttle.enable.When
versionis not set, the value is empty and AZU-0021 works as before.This PR covers the Terraform side only. The ARM side depends on #11717, which adds the ARM flexible server adapter, so it can follow once that lands.
The check change is in aquasecurity/trivy-checks (linked below). It reads the field with
object.get, so it does not need this PR to be released first.Before / After
Built from this branch, with the check from the trivy-checks PR loaded as a custom check next to the embedded one:
Related issues
Related PRs
Checklist