Skip to content

Commit

Permalink
upgrade aurora postgresql engine 11 --> 13 (data-dot-all#963)
Browse files Browse the repository at this point in the history
### Feature or Bugfix
<!-- please choose -->
- Feature

### Detail
- Upgrade Aurora PostgresQL engine version from v11 --> v13 

### Relates
- data-dot-all#940

### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).

- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)?
  - Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
  - Is injection prevented by parametrizing queries?
  - Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization?
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
  - Are you logging failed auth attempts?
- Are you using or adding any cryptographic features?
  - Do you use a standard proven implementations?
  - Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users?
  - Have you used the least-privilege principle? How?


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
  • Loading branch information
noah-paige authored Jan 11, 2024
1 parent 50d6ac0 commit 85cea19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aws-cdk-lib==2.99.0
aws-cdk-lib==2.115.0
boto3-stubs==1.20.20
boto3==1.24.85
botocore==1.27.85
Expand Down
4 changes: 2 additions & 2 deletions deploy/stacks/aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ def __init__(
self,
f'AuroraDatabase{envname}',
engine=rds.DatabaseClusterEngine.aurora_postgres(
version=rds.AuroraPostgresEngineVersion.VER_11_16
version=rds.AuroraPostgresEngineVersion.VER_13_12
),
deletion_protection=True,
cluster_identifier=f'{resource_prefix}-{envname}-db',
parameter_group=rds.ParameterGroup.from_parameter_group_name(
self, 'ParameterGroup', 'default.aurora-postgresql11'
self, 'ParameterGroup', 'default.aurora-postgresql13'
),
enable_data_api=True,
default_database_name=f'{envname}db',
Expand Down

0 comments on commit 85cea19

Please sign in to comment.