Skip to content

Commit

Permalink
add stackname to export
Browse files Browse the repository at this point in the history
Signed-off-by: Jehannes Zuidema <[email protected]>
  • Loading branch information
jehannes committed Jul 11, 2024
1 parent f89284f commit e3a35db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,20 +435,20 @@ export class AwsJwtSts extends Construct {
new cdk.CfnOutput(this, 'tokenEndpoint', {
value: 'https://' + tokenDomainName + '/token',
description: 'Url of the token endpoint',
exportName: 'tokenEndpoint'
exportName: `${cdk.Stack.of(this)}-tokenEndpoint`
})
} else {
new cdk.CfnOutput(this, 'tokenEndpoint', {
value: api.url + 'token',
description: 'Url of the token endpoint',
exportName: 'tokenEndpoint'
exportName: `${cdk.Stack.of(this)}-tokenEndpoint`
})
}

new cdk.CfnOutput(this, 'issuer', {
value: issuer,
description: 'Url of the issuer',
exportName: 'issuer'
exportName: `${cdk.Stack.of(this)}-issuer`
})

/** ---------------------- WAF ----------------------- */
Expand Down

0 comments on commit e3a35db

Please sign in to comment.