Skip to content

Commit

Permalink
Add augment-sandbox to existing amplify yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-elliott-nhsd committed Oct 14, 2024
1 parent e0f5e79 commit e1e1293
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 deletions.
1 change: 1 addition & 0 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ frontend:
phases:
build:
commands:
- npm run augment-sandbox
- npm run build
artifacts:
baseDirectory: .next
Expand Down
21 changes: 0 additions & 21 deletions infrastructure/terraform/components/app/amplify.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions infrastructure/terraform/components/app/amplify_app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,4 @@ resource "aws_amplify_app" "main" {
USER_POOL_CLIENT_ID = local.auth_remote_state.user_pool_client_id
IDENTITY_POOL_ID = local.auth_remote_state.identity_pool_id
}

build_spec = file("${path.module}/amplify.yaml")
}

0 comments on commit e1e1293

Please sign in to comment.