Closed imdkbj closed 1 month ago
Hmm it's strange that dev-cluster
is turning into abc-dev-FargateCluster
. I might be missing something but what is abc
here?
Hey, Thaks for the reply and sorry fot not putting the same. abc is the app name here.
Ah! Same naming issue found for lambda too. CognitoUserPool too.
I have noticed a similar issue for Postgres resource, where the cluster/instance identifier is not being set
const db =
new sst.aws.Postgres("DB", {
databaseName,
transform: {
instance: {
publiclyAccessible: true,
identifier: "app-staging-db-instance",
},
cluster: {
clusterIdentifier: "app-staging-db-cluster",
},
},
});
But in AWS Console, the identifier is showiing as app-main-dbcluster
where main
is the name of the stage
I believe this codeblock is the issue
@fwang Why are these values overridden in this way?
@shmuli9 i was just dumb
Fixed in v0.1.44.
@fwang, thanks bro. Appreciate you maintaining this project
Cluster
Expected : dev-cluster Actual : abc-dev-FargateCluster
LB Expected : dev-abc Actual : dev-AbcTask