Skip to content

Commit

Permalink
fix: add port to the AWS IAM Auth endpoint (#3561)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvmakine authored Nov 28, 2024
1 parent 6d25f64 commit f90cbf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ftl-provisioner-cloudformation/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func updatePostgresOutputs(_ context.Context, to *schemapb.DatabaseRuntime, reso
to.WriteConnector = &schemapb.DatabaseConnector{
Value: &schemapb.DatabaseConnector_AwsiamAuthDatabaseConnector{
AwsiamAuthDatabaseConnector: &schemapb.AWSIAMAuthDatabaseConnector{
Endpoint: *byName[PropertyPsqlWriteEndpoint].OutputValue,
Endpoint: fmt.Sprintf("%s:%d", *byName[PropertyPsqlWriteEndpoint].OutputValue, 5432),
Database: resourceID,
Username: "ftluser",
},
Expand All @@ -118,7 +118,7 @@ func updatePostgresOutputs(_ context.Context, to *schemapb.DatabaseRuntime, reso
to.ReadConnector = &schemapb.DatabaseConnector{
Value: &schemapb.DatabaseConnector_AwsiamAuthDatabaseConnector{
AwsiamAuthDatabaseConnector: &schemapb.AWSIAMAuthDatabaseConnector{
Endpoint: *byName[PropertyPsqlReadEndpoint].OutputValue,
Endpoint: fmt.Sprintf("%s:%d", *byName[PropertyPsqlReadEndpoint].OutputValue, 5432),
Database: resourceID,
Username: "ftluser",
},
Expand Down

0 comments on commit f90cbf7

Please sign in to comment.