Skip to content

Commit

Permalink
use different resolution style
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Dec 23, 2024
1 parent 4e80a0f commit 25e1f88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resources:
FunctionCode:
!Sub |
function handler(event) {
const username = ${!SSM[/copilot/${App}/${Env}/secrets/BASIC_AUTH_USERNAME}
const username = '{{resolve:ssm-secure:/copilot/${App}/${Env}/secrets/BASIC_AUTH_USERNAME}}'
// NOTE: This example function is for a viewer request event trigger.
// Choose viewer request for the event trigger when you associate this function with a distribution.
var response = {
Expand Down

0 comments on commit 25e1f88

Please sign in to comment.