Skip to content

Commit

Permalink
move condition to right spot for syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Feb 5, 2024
1 parent 84d5c82 commit fd77f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/app-api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ resources:
ApiGwWebAclAssociation:
Type: AWS::WAFv2::WebACLAssociation
DependsOn: 'ApiGatewayDeployment${sls:instanceId}'
Condition: IsDevValProd
Properties:
ResourceArn: arn:aws:apigateway:${self:provider.region}::/restapis/${self:custom.appApiGatewayId}/stages/${sls:stage}
WebACLArn: ${self:custom.appApiWafAclArn}
Condition: IsDevValProd
Outputs:
ApiAuthMode:
Value: ${self:custom.reactAppAuthMode}
Expand Down

0 comments on commit fd77f65

Please sign in to comment.