-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove duplicate routes #71
Conversation
QA SummarySee our documentation for tips on how to resolve failing QA checks.
Test CoverageCoverage report for
|
St | File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|---|
🔴 | All files | 22.85 | 2.17 | 30.84 | 23.27 | |
🟢 | directives/requireAuth | 100 | 100 | 100 | 100 | |
🟢 | requireAuth.ts | 100 | 100 | 100 | 100 | |
🟡 | directives/skipAuth | 50 | 100 | 0 | 50 | |
🟡 | skipAuth.ts | 50 | 100 | 0 | 50 | 13 |
🔴 | functions | 0 | 100 | 0 | 0 | |
🔴 | graphql.ts | 0 | 100 | 0 | 0 | 14-22 |
🔴 | functions/cpfValidation | 0 | 100 | 0 | 0 | |
🔴 | cpfValidation.scenarios.ts | 0 | 100 | 100 | 0 | 3 |
🔴 | cpfValidation.ts | 0 | 100 | 0 | 0 | 7-26 |
🔴 | functions/excelToJson | 0 | 0 | 0 | 0 | |
🔴 | excelToJson.scenarios.ts | 0 | 100 | 100 | 0 | 3 |
🔴 | excelToJson.ts | 0 | 0 | 0 | 0 | 12-47 |
🔴 | graphql | 0 | 100 | 100 | 0 | |
🔴 | agencies.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | expenditureCategories.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | inputTemplates.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | organizations.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | outputTemplates.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | projects.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | reportingPeriods.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | roles.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | subrecipients.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | uploadValidations.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | uploads.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | users.sdl.ts | 0 | 100 | 100 | 0 | 1 |
🔴 | lib | 4.91 | 2.23 | 6.66 | 5.04 | |
🔴 | auth.ts | 20 | 10.34 | 25 | 21.21 | 40-41,73-102,121,125-160 |
🔴 | aws.ts | 27.02 | 12.5 | 18.18 | 27.02 | 46-51,67-99,125-166,179 |
🔴 | db.ts | 31.25 | 50 | 50 | 31.25 | 15-35,45,47 |
🔴 | ec-codes.ts | 0 | 100 | 100 | 0 | 1 |
🟢 | logger.ts | 100 | 100 | 100 | 100 | |
🔴 | persist-upload.js | 0 | 0 | 0 | 0 | 16-295 |
🔴 | preconditions.ts | 0 | 0 | 0 | 0 | 2-3 |
🔴 | records.js | 0 | 0 | 0 | 0 | 12-214 |
🔴 | templateRules.ts | 0 | 0 | 0 | 0 | |
🔴 | tracer.ts | 0 | 100 | 100 | 0 | 5-14 |
🔴 | validate-upload.js | 0 | 0 | 0 | 0 | 18-790 |
🔴 | validation-error.ts | 0 | 0 | 0 | 0 | 14-22 |
🔴 | validation-rules.js | 0 | 0 | 0 | 0 | 6-194 |
🟡 | services/agencies | 70.58 | 0 | 83.33 | 70.58 | |
🟢 | agencies.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | agencies.ts | 68.75 | 0 | 83.33 | 68.75 | 39-47 |
🟢 | services/expenditureCategories | 92.3 | 100 | 83.33 | 92.3 | |
🟢 | expenditureCategories.scenarios.ts | 100 | 100 | 100 | 100 | |
🟢 | expenditureCategories.ts | 91.66 | 100 | 83.33 | 91.66 | 46 |
🟢 | services/inputTemplates | 92.3 | 100 | 83.33 | 92.3 | |
🟢 | inputTemplates.scenarios.ts | 100 | 100 | 100 | 100 | |
🟢 | inputTemplates.ts | 91.66 | 100 | 83.33 | 91.66 | 47 |
🟡 | services/organizations | 63.15 | 100 | 41.66 | 63.15 | |
🟢 | organizations.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | organizations.ts | 61.11 | 100 | 41.66 | 61.11 | 47-71 |
🟢 | services/outputTemplates | 92.3 | 100 | 83.33 | 92.3 | |
🟢 | outputTemplates.scenarios.ts | 100 | 100 | 100 | 100 | |
🟢 | outputTemplates.ts | 91.66 | 100 | 83.33 | 91.66 | 43 |
🟡 | services/projects | 80 | 100 | 62.5 | 80 | |
🟢 | projects.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | projects.ts | 78.57 | 100 | 62.5 | 78.57 | 45-51 |
🟡 | services/reportingPeriods | 53.84 | 0 | 41.66 | 56 | |
🟢 | reportingPeriods.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | reportingPeriods.ts | 52 | 0 | 41.66 | 54.16 | 21-31,42-45,72-82 |
🟢 | services/roles | 92.3 | 100 | 83.33 | 92.3 | |
🟢 | roles.scenarios.ts | 100 | 100 | 100 | 100 | |
🟢 | roles.ts | 91.66 | 100 | 83.33 | 91.66 | 40 |
🟡 | services/subrecipients | 80 | 100 | 62.5 | 80 | |
🟢 | subrecipients.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | subrecipients.ts | 78.57 | 100 | 62.5 | 78.57 | 47-55 |
🔴 | services/uploadValidations | 0 | 100 | 0 | 0 | |
🔴 | uploadValidations.scenarios.ts | 0 | 100 | 100 | 0 | 5 |
🔴 | uploadValidations.ts | 0 | 100 | 0 | 0 | 9-66 |
🟡 | services/uploads | 70 | 100 | 45.45 | 70 | |
🟢 | uploads.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | uploads.ts | 68.42 | 100 | 45.45 | 68.42 | 49-66 |
🟡 | services/users | 52 | 0 | 38.46 | 52 | |
🟢 | users.scenarios.ts | 100 | 100 | 100 | 100 | |
🟡 | users.ts | 50 | 0 | 38.46 | 50 | 40-48,54-72 |
Coverage report for web
suite
St | File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|---|---|---|---|---|---|
🔴 | All files | 14.61 | 11.62 | 13.06 | 13.65 | |
🔴 | src | 25.92 | 0 | 21.42 | 25.92 | |
🔴 | App.tsx | 0 | 0 | 0 | 0 | 3-35 |
🟢 | Routes.tsx | 100 | 100 | 100 | 100 | |
🔴 | auth.ts | 35.71 | 100 | 16.66 | 35.71 | 33-47,71-91 |
🔴 | entry.client.tsx | 0 | 0 | 100 | 0 | 10-22 |
🔴 | src/components/Agency/Agencies | 0 | 100 | 0 | 0 | |
🔴 | Agencies.tsx | 0 | 100 | 0 | 0 | 9-21 |
🔴 | src/components/Agency/AgenciesCell | 0 | 100 | 0 | 0 | |
🔴 | AgenciesCell.tsx | 0 | 100 | 0 | 0 | 8-39 |
🔴 | src/components/Agency/Agency | 0 | 0 | 0 | 0 | |
🔴 | Agency.tsx | 0 | 0 | 0 | 0 | 10-78 |
🔴 | src/components/Agency/AgencyCell | 0 | 100 | 0 | 0 | |
🔴 | AgencyCell.tsx | 0 | 100 | 0 | 0 | 7-27 |
🔴 | src/components/Agency/AgencyForm | 0 | 0 | 0 | 0 | |
🔴 | AgencyForm.tsx | 0 | 0 | 0 | 0 | 24-39 |
🔴 | src/components/Agency/EditAgencyCell | 0 | 100 | 0 | 0 | |
🔴 | EditAgencyCell.tsx | 0 | 100 | 0 | 0 | 10-58 |
🔴 | src/components/Agency/NewAgency | 0 | 100 | 0 | 0 | |
🔴 | NewAgency.tsx | 0 | 100 | 0 | 0 | 9-35 |
🟢 | src/components/Navigation | 100 | 100 | 100 | 100 | |
🟢 | Navigation.tsx | 100 | 100 | 100 | 100 | |
🔴 | src/components/Organization/EditOrganizationCell | 0 | 100 | 0 | 0 | |
🔴 | EditOrganizationCell.tsx | 0 | 100 | 0 | 0 | 13-62 |
🔴 | src/components/Organization/NewOrganization | 0 | 100 | 0 | 0 | |
🔴 | NewOrganization.tsx | 0 | 100 | 0 | 0 | 9-35 |
🔴 | src/components/Organization/Organization | 0 | 0 | 0 | 0 | |
🔴 | Organization.tsx | 0 | 0 | 0 | 0 | 10-70 |
🔴 | src/components/Organization/OrganizationCell | 0 | 100 | 0 | 0 | |
🔴 | OrganizationCell.tsx | 0 | 100 | 0 | 0 | 7-27 |
🔴 | src/components/Organization/OrganizationForm | 0 | 0 | 0 | 0 | |
🔴 | OrganizationForm.tsx | 0 | 0 | 0 | 0 | 27-41 |
🔴 | src/components/Organization/OrganizationPickListsCell | 40.9 | 0 | 27.27 | 36.84 | |
🟡 | OrganizationPickListsCell.mock.ts | 50 | 100 | 0 | 100 | |
🔴 | OrganizationPickListsCell.stories.tsx | 0 | 0 | 0 | 0 | 6-32 |
🟡 | OrganizationPickListsCell.tsx | 72.72 | 100 | 50 | 66.66 | 38-63 |
🔴 | src/components/Organization/Organizations | 0 | 100 | 0 | 0 | |
🔴 | Organizations.tsx | 0 | 100 | 0 | 0 | 9-21 |
🔴 | src/components/Organization/OrganizationsCell | 0 | 100 | 0 | 0 | |
🔴 | OrganizationsCell.tsx | 0 | 100 | 0 | 0 | 8-37 |
🟡 | src/components/ReportingPeriodCell | 55 | 0 | 55.55 | 47.05 | |
🟢 | ReportingPeriodCell.mock.ts | 100 | 100 | 100 | 100 | |
🔴 | ReportingPeriodCell.stories.tsx | 0 | 0 | 0 | 0 | 6-32 |
🟢 | ReportingPeriodCell.tsx | 100 | 100 | 100 | 100 | |
🟡 | src/components/ReportingPeriodsCell | 57.14 | 28.57 | 60 | 50 | |
🟢 | ReportingPeriodsCell.mock.ts | 100 | 100 | 100 | 100 | |
🔴 | ReportingPeriodsCell.stories.tsx | 0 | 0 | 0 | 0 | 6-32 |
🟢 | ReportingPeriodsCell.tsx | 100 | 66.66 | 100 | 100 | 63-66 |
🔴 | src/components/TableBuilder | 0 | 0 | 0 | 0 | |
🔴 | DebouncedInput.tsx | 0 | 0 | 0 | 0 | 13-32 |
🔴 | Filter.tsx | 0 | 0 | 0 | 0 | 6-15 |
🔴 | TableBuilder.tsx | 0 | 0 | 0 | 0 | 22-70 |
🔴 | TableHeader.tsx | 0 | 0 | 0 | 0 | 5-42 |
🔴 | TableRow.tsx | 0 | 100 | 0 | 0 | 3-7 |
🔴 | src/components/Upload/EditUploadCell | 0 | 100 | 0 | 0 | |
🔴 | EditUploadCell.tsx | 0 | 100 | 0 | 0 | 10-68 |
🔴 | src/components/Upload/NewUpload | 0 | 100 | 0 | 0 | |
🔴 | NewUpload.tsx | 0 | 100 | 0 | 0 | 8-32 |
🔴 | src/components/Upload/Upload | 0 | 0 | 0 | 0 | |
🔴 | Upload.tsx | 0 | 0 | 0 | 0 | 12-100 |
🔴 | src/components/Upload/UploadCell | 0 | 100 | 0 | 0 | |
🔴 | UploadCell.tsx | 0 | 100 | 0 | 0 | 7-32 |
🔴 | src/components/Upload/UploadForm | 0 | 0 | 0 | 0 | |
🔴 | UploadForm.tsx | 0 | 0 | 0 | 0 | 22-98 |
🔴 | src/components/Upload/Uploads | 0 | 0 | 0 | 0 | |
🔴 | Uploads.tsx | 0 | 0 | 0 | 0 | 9-66 |
🔴 | columns.tsx | 0 | 0 | 0 | 0 | 7-62 |
🔴 | src/components/Upload/UploadsCell | 0 | 100 | 0 | 0 | |
🔴 | UploadsCell.tsx | 0 | 100 | 0 | 0 | 8-53 |
🔴 | src/components/User/EditUserCell | 0 | 100 | 0 | 0 | |
🔴 | EditUserCell.tsx | 0 | 100 | 0 | 0 | 10-60 |
🔴 | src/components/User/NewUser | 0 | 100 | 0 | 0 | |
🔴 | NewUser.tsx | 0 | 100 | 0 | 0 | 9-32 |
🔴 | src/components/User/User | 0 | 0 | 0 | 0 | |
🔴 | User.tsx | 0 | 0 | 0 | 0 | 9-93 |
🔴 | src/components/User/UserCell | 0 | 100 | 0 | 0 | |
🔴 | UserCell.tsx | 0 | 100 | 0 | 0 | 7-31 |
🔴 | src/components/User/UserForm | 0 | 0 | 0 | 0 | |
🔴 | UserForm.tsx | 0 | 0 | 0 | 0 | 25-39 |
🔴 | src/components/User/Users | 0 | 100 | 0 | 0 | |
🔴 | Users.tsx | 0 | 100 | 0 | 0 | 9-24 |
🔴 | src/components/User/UsersCell | 0 | 100 | 0 | 0 | |
🔴 | UsersCell.tsx | 0 | 100 | 0 | 0 | 8-43 |
🟡 | src/layouts/AuthenticatedLayout | 60 | 50 | 100 | 60 | |
🔴 | AuthenticatedLayout.stories.tsx | 0 | 100 | 100 | 0 | 5-13 |
🟢 | AuthenticatedLayout.tsx | 100 | 50 | 100 | 100 | 24 |
🟢 | src/lib | 100 | 100 | 100 | 100 | |
🟢 | formatters.tsx | 100 | 100 | 100 | 100 | |
🔴 | src/pages/Agency/AgenciesPage | 0 | 100 | 0 | 0 | |
🔴 | AgenciesPage.tsx | 0 | 100 | 0 | 0 | 7-11 |
🔴 | src/pages/Agency/AgencyPage | 0 | 100 | 0 | 0 | |
🔴 | AgencyPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Agency/EditAgencyPage | 0 | 100 | 0 | 0 | |
🔴 | EditAgencyPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Agency/NewAgencyPage | 0 | 100 | 0 | 0 | |
🔴 | NewAgencyPage.tsx | 0 | 100 | 0 | 0 | 3-4 |
🔴 | src/pages/FatalErrorPage | 0 | 0 | 0 | 0 | |
🔴 | FatalErrorPage.tsx | 0 | 0 | 0 | 0 | 15 |
🟡 | src/pages/LoginPage | 50 | 100 | 100 | 50 | |
🔴 | LoginPage.stories.tsx | 0 | 100 | 100 | 0 | 5-13 |
🟢 | LoginPage.tsx | 100 | 100 | 100 | 100 | |
🔴 | src/pages/NotFoundPage | 0 | 100 | 0 | 0 | |
🔴 | NotFoundPage.tsx | 0 | 100 | 0 | 0 | 2 |
🔴 | src/pages/Organization/EditOrganizationPage | 0 | 100 | 0 | 0 | |
🔴 | EditOrganizationPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Organization/NewOrganizationPage | 0 | 100 | 0 | 0 | |
🔴 | NewOrganizationPage.tsx | 0 | 100 | 0 | 0 | 3-4 |
🔴 | src/pages/Organization/OrganizationPage | 0 | 100 | 0 | 0 | |
🔴 | OrganizationPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Organization/OrganizationsPage | 0 | 100 | 0 | 0 | |
🔴 | OrganizationsPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🟡 | src/pages/ReportingPeriodsPage | 50 | 100 | 100 | 50 | |
🔴 | ReportingPeriodsPage.stories.tsx | 0 | 100 | 100 | 0 | 5-13 |
🟢 | ReportingPeriodsPage.tsx | 100 | 100 | 100 | 100 | |
🔴 | src/pages/Upload/EditUploadPage | 0 | 100 | 0 | 0 | |
🔴 | EditUploadPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Upload/NewUploadPage | 0 | 100 | 0 | 0 | |
🔴 | NewUploadPage.tsx | 0 | 100 | 0 | 0 | 3-4 |
🔴 | src/pages/Upload/UploadPage | 0 | 100 | 0 | 0 | |
🔴 | UploadPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/Upload/UploadsPage | 0 | 100 | 0 | 0 | |
🔴 | UploadsPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🟡 | src/pages/UploadTemplatePage | 50 | 100 | 50 | 50 | |
🔴 | UploadTemplatePage.stories.tsx | 0 | 100 | 100 | 0 | 5-13 |
🟡 | UploadTemplatePage.tsx | 75 | 100 | 50 | 75 | 9 |
🔴 | src/pages/User/EditUserPage | 0 | 100 | 0 | 0 | |
🔴 | EditUserPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/User/NewUserPage | 0 | 100 | 0 | 0 | |
🔴 | NewUserPage.tsx | 0 | 100 | 0 | 0 | 3-4 |
🔴 | src/pages/User/UserPage | 0 | 100 | 0 | 0 | |
🔴 | UserPage.tsx | 0 | 100 | 0 | 0 | 7-8 |
🔴 | src/pages/User/UsersPage | 0 | 100 | 0 | 0 | |
🔴 | UsersPage.tsx | 0 | 100 | 0 | 0 | 7-11 |
🔴 | src/utils | 0 | 0 | 0 | 0 | |
🔴 | index.ts | 0 | 0 | 0 | 0 | 3-37 |
Pusher: @as1729, Action: pull_request_target
, Workflow: Continuous Integration
Terraform Summary
Hint: If "Terraform Format & Style" failed, run OutputValidation Output
Plan OutputTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
-/+ destroy and then create replacement
+/- create replacement and then destroy
Terraform will perform the following actions:
# aws_ecs_service.console will be updated in-place
~ resource "aws_ecs_service" "console" {
id = "arn:aws:ecs:us-west-2:357150818708:service/cpfreporter/cpfreporter-console"
name = "cpfreporter-console"
tags = {}
~ task_definition = "arn:aws:ecs:us-west-2:357150818708:task-definition/cpfreporter-console:34" -> (known after apply)
# (15 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# aws_ecs_task_definition.console must be replaced
+/- resource "aws_ecs_task_definition" "console" {
~ arn = "arn:aws:ecs:us-west-2:357150818708:task-definition/cpfreporter-console:34" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-west-2:357150818708:task-definition/cpfreporter-console" -> (known after apply)
~ container_definitions = (sensitive value) # forces replacement
~ id = "cpfreporter-console" -> (known after apply)
~ revision = 34 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# aws_s3_object.lambda_artifact-cpfValidation will be updated in-place
~ resource "aws_s3_object" "lambda_artifact-cpfValidation" {
~ etag = "eae6e9031bd39a0c2adceca7cf999cad-5" -> "04a1fc0c62a2d3a73d69887cbac0b8cb"
id = "cpfValidation.04a1fc0c62a2d3a73d69887cbac0b8cb.zip"
tags = {}
~ version_id = "_.Ib442NVKi2bMCdPVCXxkKyLrdu.YMr" -> (known after apply)
# (11 unchanged attributes hidden)
}
# aws_s3_object.lambda_artifact-excelToJson will be updated in-place
~ resource "aws_s3_object" "lambda_artifact-excelToJson" {
~ etag = "41ce91252ab8d3546fb5905ff561b7c4-6" -> "20739793d622992f3eae2ba77a6afbb0"
id = "excelToJson.20739793d622992f3eae2ba77a6afbb0.zip"
tags = {}
~ version_id = "Twrycptx0gOcvxvvvAkTm1VRzK0O50A4" -> (known after apply)
# (11 unchanged attributes hidden)
}
# aws_s3_object.lambda_artifact-graphql will be updated in-place
~ resource "aws_s3_object" "lambda_artifact-graphql" {
~ etag = "4d9b7d28d657997f080fe7e419364fa7-6" -> "8b5829391343440b34a2fc994a862af7"
id = "graphql.8b5829391343440b34a2fc994a862af7.zip"
tags = {}
~ version_id = "qtDwyg3k61VCa0cbt8dY74Tm9r_TyfVk" -> (known after apply)
# (11 unchanged attributes hidden)
}
# aws_s3_object.origin_dist_artifact["200.html"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "7e472449a93ffde57e7e29c87280c4d4" -> "f3ea65731d99ea397c8515120dc96ce6"
id = "dist/200.html"
~ source_hash = "7e472449a93ffde57e7e29c87280c4d4" -> "f3ea65731d99ea397c8515120dc96ce6"
tags = {}
~ version_id = "CYioCSBcAo.Zf20nadvfd.17ZGmA6aGw" -> (known after apply)
# (10 unchanged attributes hidden)
}
# aws_s3_object.origin_dist_artifact["build-manifest.json"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "941d56c10953cfcce508725b59515768" -> "7e4cd6cd8360f830d3baad0b6bcc9d9c"
id = "dist/build-manifest.json"
~ source_hash = "941d56c10953cfcce508725b59515768" -> "7e4cd6cd8360f830d3baad0b6bcc9d9c"
tags = {}
~ version_id = "xLT0mC84SoStGEl4iJUD_FDPdzzrK_TY" -> (known after apply)
# (10 unchanged attributes hidden)
}
# aws_s3_object.origin_dist_artifact["chunk-references.json"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "816f57b13ddeeba6dd0a1784bf333db0" -> "56dd429963e0b58d15b4e560f0d49530"
id = "dist/chunk-references.json"
~ source_hash = "816f57b13ddeeba6dd0a1784bf333db0" -> "56dd429963e0b58d15b4e560f0d49530"
tags = {}
~ version_id = "IaaF8wVK3Ll3JxnPRLzN1LkECz7UES9b" -> (known after apply)
# (10 unchanged attributes hidden)
}
# aws_s3_object.origin_dist_artifact["index.html"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "7e472449a93ffde57e7e29c87280c4d4" -> "f3ea65731d99ea397c8515120dc96ce6"
id = "dist/index.html"
~ source_hash = "7e472449a93ffde57e7e29c87280c4d4" -> "f3ea65731d99ea397c8515120dc96ce6"
tags = {}
~ version_id = "92_5_lTLEDlxD4fYzogV6YX2AmUXt3hY" -> (known after apply)
# (10 unchanged attributes hidden)
}
# aws_s3_object.origin_dist_artifact["static/js/app.8e89a4a9.js"] will be destroyed
# (because key ["static/js/app.8e89a4a9.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- bucket = "cpfreporter-origin-357150818708-us-west-2" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "afb287e593a9800c25675855f476d8b7" -> null
- force_destroy = false -> null
- id = "dist/static/js/app.8e89a4a9.js" -> null
- key = "dist/static/js/app.8e89a4a9.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/cpf-reporter/cpf-reporter/web/dist/static/js/app.8e89a4a9.js" -> null
- source_hash = "afb287e593a9800c25675855f476d8b7" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "cpf-reporter"
- "service" = "cpf-reporter"
- "usage" = "workload"
} -> null
- version_id = "Nz_SeRhOV2fVLASREO5ZdJ2Y9GmS3sMr" -> null
}
# aws_s3_object.origin_dist_artifact["static/js/app.8e89a4a9.js.LICENSE.txt"] will be destroyed
# (because key ["static/js/app.8e89a4a9.js.LICENSE.txt"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- bucket = "cpfreporter-origin-357150818708-us-west-2" -> null
- bucket_key_enabled = false -> null
- content_type = "text/plain" -> null
- etag = "9ca7566c06c8f1334eac82d09ba421ad" -> null
- force_destroy = false -> null
- id = "dist/static/js/app.8e89a4a9.js.LICENSE.txt" -> null
- key = "dist/static/js/app.8e89a4a9.js.LICENSE.txt" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/cpf-reporter/cpf-reporter/web/dist/static/js/app.8e89a4a9.js.LICENSE.txt" -> null
- source_hash = "9ca7566c06c8f1334eac82d09ba421ad" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "cpf-reporter"
- "service" = "cpf-reporter"
- "usage" = "workload"
} -> null
- version_id = "nWJN2BEOkjjQY5VLp2AKQzuxvZB_IALu" -> null
}
# aws_s3_object.origin_dist_artifact["static/js/app.d8a0b32e.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = (known after apply)
+ bucket = "cpfreporter-origin-357150818708-us-west-2"
+ bucket_key_enabled = (known after apply)
+ checksum_crc32 = (known after apply)
+ checksum_crc32c = (known after apply)
+ checksum_sha1 = (known after apply)
+ checksum_sha256 = (known after apply)
+ content_type = "text/javascript"
+ etag = "5e658d63f30b1640719f3c62e2df8687"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/static/js/app.d8a0b32e.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/cpf-reporter/cpf-reporter/web/dist/static/js/app.d8a0b32e.js"
+ source_hash = "5e658d63f30b1640719f3c62e2df8687"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "cpf-reporter"
+ "service" = "cpf-reporter"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# aws_s3_object.origin_dist_artifact["static/js/app.d8a0b32e.js.LICENSE.txt"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = (known after apply)
+ bucket = "cpfreporter-origin-357150818708-us-west-2"
+ bucket_key_enabled = (known after apply)
+ checksum_crc32 = (known after apply)
+ checksum_crc32c = (known after apply)
+ checksum_sha1 = (known after apply)
+ checksum_sha256 = (known after apply)
+ content_type = "text/plain"
+ etag = "9ca7566c06c8f1334eac82d09ba421ad"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/static/js/app.d8a0b32e.js.LICENSE.txt"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/cpf-reporter/cpf-reporter/web/dist/static/js/app.d8a0b32e.js.LICENSE.txt"
+ source_hash = "9ca7566c06c8f1334eac82d09ba421ad"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "cpf-reporter"
+ "service" = "cpf-reporter"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.lambda_function-cpfValidation.aws_lambda_function.this[0] will be updated in-place
~ resource "aws_lambda_function" "this" {
id = "cpfreporter-cpfValidation"
~ qualified_arn = "arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-cpfValidation:3" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-cpfValidation:3/invocations" -> (known after apply)
tags = {}
~ version = "3" -> (known after apply)
# (21 unchanged attributes hidden)
~ environment {
~ variables = {
~ "DD_COMMIT_SHA" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
~ "DD_TAGS" = "git.commit.sha:591c61907fd55bbb658acf43ff4d44d2a72337da,git.repository_url:github.com/usdigitalresponse/cpf-reporter" -> "git.commit.sha:154e20e96ea9f702b4da423b8f0dafd6a34cd4fb,git.repository_url:github.com/usdigitalresponse/cpf-reporter"
~ "DD_VERSION" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
# (13 unchanged elements hidden)
}
}
# (3 unchanged blocks hidden)
}
# module.lambda_function-cpfValidation.aws_lambda_permission.current_version_triggers["S3BucketNotification"] must be replaced
-/+ resource "aws_lambda_permission" "current_version_triggers" {
~ id = "S3BucketNotification" -> (known after apply)
~ qualifier = "3" # forces replacement -> (known after apply) # forces replacement
+ statement_id_prefix = (known after apply)
# (5 unchanged attributes hidden)
}
# module.lambda_function-excelToJson.aws_lambda_function.this[0] will be updated in-place
~ resource "aws_lambda_function" "this" {
id = "cpfreporter-excelToJson"
~ qualified_arn = "arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-excelToJson:3" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-excelToJson:3/invocations" -> (known after apply)
tags = {}
~ version = "3" -> (known after apply)
# (21 unchanged attributes hidden)
~ environment {
~ variables = {
~ "DD_COMMIT_SHA" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
~ "DD_TAGS" = "git.commit.sha:591c61907fd55bbb658acf43ff4d44d2a72337da,git.repository_url:github.com/usdigitalresponse/cpf-reporter" -> "git.commit.sha:154e20e96ea9f702b4da423b8f0dafd6a34cd4fb,git.repository_url:github.com/usdigitalresponse/cpf-reporter"
~ "DD_VERSION" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
# (13 unchanged elements hidden)
}
}
# (3 unchanged blocks hidden)
}
# module.lambda_function-excelToJson.aws_lambda_permission.current_version_triggers["S3BucketNotification"] must be replaced
-/+ resource "aws_lambda_permission" "current_version_triggers" {
~ id = "S3BucketNotification" -> (known after apply)
~ qualifier = "3" # forces replacement -> (known after apply) # forces replacement
+ statement_id_prefix = (known after apply)
# (5 unchanged attributes hidden)
}
# module.lambda_function-graphql.aws_lambda_function.this[0] will be updated in-place
~ resource "aws_lambda_function" "this" {
id = "cpfreporter-graphql"
~ qualified_arn = "arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-graphql:50" -> (known after apply)
~ qualified_invoke_arn = "arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:357150818708:function:cpfreporter-graphql:50/invocations" -> (known after apply)
tags = {}
~ version = "50" -> (known after apply)
# (21 unchanged attributes hidden)
~ environment {
~ variables = {
~ "DD_COMMIT_SHA" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
~ "DD_TAGS" = "git.commit.sha:591c61907fd55bbb658acf43ff4d44d2a72337da,git.repository_url:github.com/usdigitalresponse/cpf-reporter" -> "git.commit.sha:154e20e96ea9f702b4da423b8f0dafd6a34cd4fb,git.repository_url:github.com/usdigitalresponse/cpf-reporter"
~ "DD_VERSION" = "591c61907fd55bbb658acf43ff4d44d2a72337da" -> "154e20e96ea9f702b4da423b8f0dafd6a34cd4fb"
# (17 unchanged elements hidden)
}
}
# (4 unchanged blocks hidden)
}
# module.lambda_function-graphql.aws_lambda_permission.current_version_triggers["APIGateway"] must be replaced
-/+ resource "aws_lambda_permission" "current_version_triggers" {
~ id = "APIGateway" -> (known after apply)
~ qualifier = "50" # forces replacement -> (known after apply) # forces replacement
+ statement_id_prefix = (known after apply)
# (5 unchanged attributes hidden)
}
Plan: 6 to add, 11 to change, 6 to destroy. Pusher: @as1729, Action: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok.
Previously we copied a few routes from private-set into unauthenticated. However, this does not provide the appropriate data needed to support the upload page load. Hence this PR does: