Skip to content

Commit

Permalink
fix(cognito): Enable cognito for QE
Browse files Browse the repository at this point in the history
This reverts commit 085eec0.
  • Loading branch information
mdial89f authored Feb 8, 2024
1 parent 4523f31 commit a06ab68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- deploy
env:
baseurl: ${{ needs.deploy.outputs.app-url }}
if: ${{ github.ref != 'refs/heads/production' && github.ref != 'refs/heads/val' }}
if: ${{ github.ref != 'refs/heads/production' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
10 changes: 3 additions & 7 deletions src/services/auth/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,9 @@ resources:
- ${self:custom.idmInfo.oidc_issuer, ""}
BackWithCognito:
Fn::Not:
- Fn::Or:
- Fn::Equals:
- ${sls:stage}
- production
- Fn::Equals:
- ${sls:stage}
- val
- Fn::Equals:
- ${sls:stage}
- production
Resources:
CognitoUserPool:
Type: AWS::Cognito::UserPool
Expand Down

0 comments on commit a06ab68

Please sign in to comment.