Skip to content

Commit

Permalink
Fix yml template
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Jun 24, 2024
1 parent 4d91ee8 commit 090ea8a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions infrastructure/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Parameters:
Type: String
Description: Name of the zip file.

# Conditions:
# IsDev:
# Fn::Equals:
# - Fn::Sub: ${EnvName}
# - dev
Conditions:
IsDev:
Fn::Equals:
- Fn::Sub: ${EnvName}
- dev

Resources:
SSRFunction:
Expand All @@ -44,10 +44,11 @@ Resources:
FunctionUrlConfig:
AuthType: NONE
Environment:
Variables:
NUXT_SITE_ENV:
Fn::If:
- True
- Fn::Sub: ${EnvName}
Fn::If:
- IsDev
- Variables:
NUXT_SITE_ENV:
Fn::Sub: ${EnvName}
- Ref: AWS::NoValue


0 comments on commit 090ea8a

Please sign in to comment.