Skip to content

Commit

Permalink
no DB secret names
Browse files Browse the repository at this point in the history
  • Loading branch information
revmischa committed Jul 2, 2024
1 parent df32cc0 commit 05cee3d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion stacks/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export function Database({ stack, app }: StackContext) {
const dbSecret = dbSecretName
? Secret.fromSecretNameV2(stack, 'DbSecretImported', dbSecretName)
: new Secret(stack, 'DbSecretGenerated', {
secretName: app.logicalPrefixedName('db'),
description: `DB secret for ${app.logicalPrefixedName('db')}`,
removalPolicy: RemovalPolicy.RETAIN,
generateSecretString: {
Expand Down
1 change: 0 additions & 1 deletion stacks/secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export function Secrets({ stack, app }: StackContext) {
secrets = secretsArn
? Secret.fromSecretCompleteArn(stack, 'Secrets', secretsArn)
: new Secret(stack, 'App', {
secretName: app.logicalPrefixedName('app'),
description: `${stack.stackName} ${stack.stage} secrets`,
// secret default template
generateSecretString: {
Expand Down

0 comments on commit 05cee3d

Please sign in to comment.