Skip to content

Commit

Permalink
fix: add SSL_MODE prefer to Cloudformation template (#58)
Browse files Browse the repository at this point in the history
* add SSL_MODE prefer to cloudformation template

* update service image to latest that supports ssl_mode connection config
  • Loading branch information
saikonen authored Sep 2, 2024
1 parent 05c6a99 commit b769863
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions aws/cloudformation/metaflow-cfn-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Mappings:
ServiceName:
value: 'metadata-service-v2'
ImageUrl:
value: 'netflixoss/metaflow_metadata_service:v2.3.5'
value: 'netflixoss/metaflow_metadata_service:v2.4.12'
ContainerPort:
value: 8080
ContainerCpu:
Expand All @@ -113,7 +113,7 @@ Mappings:
ServiceName:
value: 'metaflow-ui-service'
ImageUrl:
value: 'netflixoss/metaflow_metadata_service:v2.3.5'
value: 'netflixoss/metaflow_metadata_service:v2.4.12'
ContainerPort:
value: 8083
ContainerCpu:
Expand Down Expand Up @@ -415,6 +415,8 @@ Resources:
Value: !GetAtt 'RDSMasterInstance.Endpoint.Address'
- Name: "MF_METADATA_DB_PORT"
Value: "5432"
- Name: "MF_METADATA_DB_SSL_MODE"
Value: "prefer"
- Name: "MF_METADATA_DB_USER"
Value: "master"
- Name: "MF_METADATA_DB_PSWD"
Expand Down Expand Up @@ -1625,6 +1627,8 @@ Resources:
Value: !GetAtt 'RDSMasterInstance.Endpoint.Address'
- Name: "MF_METADATA_DB_PORT"
Value: "5432"
- Name: "MF_METADATA_DB_SSL_MODE"
Value: "prefer"
- Name: "MF_METADATA_DB_USER"
Value: !Join ['', ['{{resolve:secretsmanager:', !Ref MyRDSSecret, ':SecretString:username}}' ]]
- Name: "MF_METADATA_DB_PSWD"
Expand Down

0 comments on commit b769863

Please sign in to comment.