-
Notifications
You must be signed in to change notification settings - Fork 21
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
Refactor and fix bugs in Recent Activity and Upcoming Closing Dates tables. #2687
Conversation
QA Summary
Test CoverageCoverage report for `packages/client`
Coverage report for `packages/server`
Pusher: @sanason, Action: |
Terraform Summary
Hint: If "Terraform Format & Style" failed, run OutputValidation Output
Plan OutputNote: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
# module.api.aws_ecs_task_definition.default[0] has changed
~ resource "aws_ecs_task_definition" "default" {
id = "gost-staging-api"
+ tags = {}
# (13 unchanged attributes hidden)
+ volume {
+ name = "data"
+ efs_volume_configuration {
+ file_system_id = "fs-08f95063c1cdbe191"
+ root_directory = "/"
+ transit_encryption = "ENABLED"
+ transit_encryption_port = 0
+ authorization_config {
+ access_point_id = "fsap-03bc0296928aade4f"
}
}
}
- volume {
- name = "data" -> null
- efs_volume_configuration {
- file_system_id = "fs-08f95063c1cdbe191" -> null
- root_directory = "/" -> null
- transit_encryption = "ENABLED" -> null
- authorization_config {
- access_point_id = "fsap-03bc0296928aade4f" -> null
}
}
}
# (1 unchanged block hidden)
}
# module.api.aws_iam_role.execution[0] has changed
~ resource "aws_iam_role" "execution" {
id = "gost-staging-api-ECSTaskExecution-20230217010414321500000009"
name = "gost-staging-api-ECSTaskExecution-20230217010414321500000009"
~ role_last_used = [
~ {
~ last_used_date = "2024-03-06T19:13:48Z" -> "2024-03-06T20:21:37Z"
# (1 unchanged element hidden)
},
]
tags = {}
# (11 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.api.aws_iam_role.task[0] has changed
~ resource "aws_iam_role" "task" {
id = "gost-staging-api-ECSTask-2023021701041477300000000a"
name = "gost-staging-api-ECSTask-2023021701041477300000000a"
~ role_last_used = [
~ {
~ last_used_date = "2024-03-06T19:20:11Z" -> "2024-03-06T20:21:31Z"
# (1 unchanged element hidden)
},
]
tags = {}
# (11 unchanged attributes hidden)
# (6 unchanged blocks hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
─────────────────────────────────────────────────────────────────────────────
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
+/- create replacement and then destroy
Terraform will perform the following actions:
# module.api.aws_ecs_service.default[0] will be updated in-place
~ resource "aws_ecs_service" "default" {
id = "arn:aws:ecs:us-west-2:357150818708:service/gost-staging/gost-staging-api"
name = "gost-staging-api"
tags = {}
~ task_definition = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-api:164" -> (known after apply)
# (15 unchanged attributes hidden)
# (4 unchanged blocks hidden)
}
# module.api.aws_ecs_task_definition.default[0] must be replaced
+/- resource "aws_ecs_task_definition" "default" {
~ arn = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-api:164" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-api" -> (known after apply)
~ container_definitions = jsonencode(
~ [ # forces replacement
~ {
~ dockerLabels = {
~ "com.datadoghq.tags.version" = "381b8b03f8806c85b17a692c1ba39fd92dcaa014" -> "691a2db61ebf1f9138dbaed8ec4e5be5942373d4"
# (2 unchanged elements hidden)
}
~ environment = [
# (7 unchanged elements hidden)
{
name = "DD_SERVICE"
value = "gost"
},
~ {
name = "DD_VERSION"
~ value = "381b8b03f8806c85b17a692c1ba39fd92dcaa014" -> "691a2db61ebf1f9138dbaed8ec4e5be5942373d4"
},
{
name = "ENABLE_GRANTS_DIGEST"
value = "false"
},
# (11 unchanged elements hidden)
]
~ image = "ghcr.io/usdigitalresponse/usdr-gost-api:381b8b03f8806c85b17a692c1ba39fd92dcaa014@sha256:0ce5c58b1098d858a48283fd9beea0af26ab54a3e276e19a019914858fce1eb6" -> "ghcr.io/usdigitalresponse/usdr-gost-api:691a2db61ebf1f9138dbaed8ec4e5be5942373d4@sha256:c0f8840c4238fb1f57dbaf30f22255e6b91368db8a11faefe919a46af16c5be6"
name = "api"
- systemControls = [] -> null
- volumesFrom = [] -> null
# (9 unchanged elements hidden)
} # forces replacement,
~ {
~ dockerLabels = {
~ "com.datadoghq.tags.version" = "381b8b03f8806c85b17a692c1ba39fd92dcaa014" -> "691a2db61ebf1f9138dbaed8ec4e5be5942373d4"
# (2 unchanged elements hidden)
}
~ environment = [
# (3 unchanged elements hidden)
{
name = "DD_SERVICE"
value = "gost"
},
~ {
name = "DD_VERSION"
~ value = "381b8b03f8806c85b17a692c1ba39fd92dcaa014" -> "691a2db61ebf1f9138dbaed8ec4e5be5942373d4"
},
{
name = "ECS_FARGATE"
value = "true"
},
]
- mountPoints = [] -> null
name = "datadog"
- portMappings = [] -> null
- systemControls = [] -> null
- volumesFrom = [] -> null
# (6 unchanged elements hidden)
} # forces replacement,
]
)
~ id = "gost-staging-api" -> (known after apply)
~ revision = 164 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
- volume {
- name = "data" -> null
- efs_volume_configuration {
- file_system_id = "fs-08f95063c1cdbe191" -> null
- root_directory = "/" -> null
- transit_encryption = "ENABLED" -> null
- transit_encryption_port = 0 -> null
- authorization_config {
- access_point_id = "fsap-03bc0296928aade4f" -> null
}
}
}
+ volume {
+ name = "data"
+ efs_volume_configuration {
+ file_system_id = "fs-08f95063c1cdbe191"
+ root_directory = "/"
+ transit_encryption = "ENABLED"
+ authorization_config {
+ access_point_id = "fsap-03bc0296928aade4f"
}
}
}
# (1 unchanged block hidden)
}
# module.arpa_audit_report.aws_ecs_service.default will be updated in-place
~ resource "aws_ecs_service" "default" {
id = "arn:aws:ecs:us-west-2:357150818708:service/gost-staging/gost-staging-arpa_audit_report"
name = "gost-staging-arpa_audit_report"
tags = {}
~ task_definition = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-arpa_audit_report:133" -> (known after apply)
# (15 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.arpa_audit_report.aws_ecs_task_definition.consumer must be replaced
+/- resource "aws_ecs_task_definition" "consumer" {
~ arn = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-arpa_audit_report:133" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-arpa_audit_report" -> (known after apply)
~ container_definitions = (sensitive value) # forces replacement
~ id = "gost-staging-arpa_audit_report" -> (known after apply)
- ipc_mode = "" -> null
- pid_mode = "" -> null
~ revision = 133 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
- volume {
- name = "data" -> null
- efs_volume_configuration {
- file_system_id = "fs-08f95063c1cdbe191" -> null
- root_directory = "/" -> null
- transit_encryption = "ENABLED" -> null
- transit_encryption_port = 0 -> null
- authorization_config {
- access_point_id = "fsap-03bc0296928aade4f" -> null
}
}
}
+ volume {
+ name = "data"
+ efs_volume_configuration {
+ file_system_id = "fs-08f95063c1cdbe191"
+ root_directory = "/"
+ transit_encryption = "ENABLED"
+ authorization_config {
+ access_point_id = "fsap-03bc0296928aade4f"
}
}
}
# (1 unchanged block hidden)
}
# module.arpa_treasury_report.aws_ecs_service.default will be updated in-place
~ resource "aws_ecs_service" "default" {
id = "arn:aws:ecs:us-west-2:357150818708:service/gost-staging/gost-staging-treasury_report"
name = "gost-staging-treasury_report"
tags = {}
~ task_definition = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-treasury_report:122" -> (known after apply)
# (15 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.arpa_treasury_report.aws_ecs_task_definition.consumer must be replaced
+/- resource "aws_ecs_task_definition" "consumer" {
~ arn = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-treasury_report:122" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-treasury_report" -> (known after apply)
~ container_definitions = (sensitive value) # forces replacement
~ id = "gost-staging-treasury_report" -> (known after apply)
- ipc_mode = "" -> null
- pid_mode = "" -> null
~ revision = 122 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
- volume {
- name = "data" -> null
- efs_volume_configuration {
- file_system_id = "fs-08f95063c1cdbe191" -> null
- root_directory = "/" -> null
- transit_encryption = "ENABLED" -> null
- transit_encryption_port = 0 -> null
- authorization_config {
- access_point_id = "fsap-03bc0296928aade4f" -> null
}
}
}
+ volume {
+ name = "data"
+ efs_volume_configuration {
+ file_system_id = "fs-08f95063c1cdbe191"
+ root_directory = "/"
+ transit_encryption = "ENABLED"
+ authorization_config {
+ access_point_id = "fsap-03bc0296928aade4f"
}
}
}
# (1 unchanged block hidden)
}
# module.consume_grants.aws_ecs_service.default will be updated in-place
~ resource "aws_ecs_service" "default" {
id = "arn:aws:ecs:us-west-2:357150818708:service/gost-staging/gost-staging-consume_grants"
name = "gost-staging-consume_grants"
tags = {}
~ task_definition = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-consume_grants:149" -> (known after apply)
# (15 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.consume_grants.aws_ecs_task_definition.consume_grants must be replaced
+/- resource "aws_ecs_task_definition" "consume_grants" {
~ arn = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-consume_grants:149" -> (known after apply)
~ arn_without_revision = "arn:aws:ecs:us-west-2:357150818708:task-definition/gost-staging-consume_grants" -> (known after apply)
~ container_definitions = (sensitive value) # forces replacement
~ id = "gost-staging-consume_grants" -> (known after apply)
- ipc_mode = "" -> null
- pid_mode = "" -> null
~ revision = 149 -> (known after apply)
- tags = {} -> null
# (9 unchanged attributes hidden)
# (1 unchanged block hidden)
}
# module.website.aws_s3_object.deploy-config[0] will be updated in-place
~ resource "aws_s3_object" "deploy-config" {
~ content = <<-EOT
window.APP_CONFIG = window.APP_CONFIG || {};
window.APP_CONFIG.apiURLForGOST = 'https://api.staging.grants.usdr.dev/';
window.apiURLForGOST = window.APP_CONFIG.apiURLForGOST; // Legacy
window.APP_CONFIG.DD_RUM_ENABLED = true;
- window.APP_CONFIG.DD_RUM_CONFIG = {"allowedTracingUrls":["https://api.staging.grants.usdr.dev"],"applicationId":"15db471e-2ccb-4d3c-a6bf-99b750d748f5","clientToken":"pub50834fcc1999d53e546519b1a0f03934","defaultPrivacyLevel":"mask","env":"staging","service":"gost","sessionReplaySampleRate":1,"sessionSampleRate":10,"site":"datadoghq.com","trackLongTasks":true,"trackResources":true,"trackUserInteractions":true,"version":"381b8b03f8806c85b17a692c1ba39fd92dcaa014"};
+ window.APP_CONFIG.DD_RUM_CONFIG = {"allowedTracingUrls":["https://api.staging.grants.usdr.dev"],"applicationId":"15db471e-2ccb-4d3c-a6bf-99b750d748f5","clientToken":"pub50834fcc1999d53e546519b1a0f03934","defaultPrivacyLevel":"mask","env":"staging","service":"gost","sessionReplaySampleRate":1,"sessionSampleRate":10,"site":"datadoghq.com","trackLongTasks":true,"trackResources":true,"trackUserInteractions":true,"version":"691a2db61ebf1f9138dbaed8ec4e5be5942373d4"};
window.APP_CONFIG.GOOGLE_TAG_ID = 'G-D5DFR7BN0N';
window.APP_CONFIG.featureFlags = {"myProfileEnabled":true,"newGrantsDetailPageEnabled":false,"newTerminologyEnabled":true};
window.APP_CONFIG.overrideFeatureFlag = (flagName, overrideValue) => {
const storageKey = 'featureFlags';
let overrides = {};
try {
overrides = JSON.parse(window.sessionStorage.getItem(storageKey)) || {};
} catch (e) {
console.error(`Error parsing window.sessionStorage.${storageKey} as JSON:`, e);
console.warn(`window.sessionStorage.${storageKey} will be replaced.`);
}
overrides[flagName] = overrideValue;
window.sessionStorage.setItem(storageKey, JSON.stringify(overrides));
console.log('New feature flag overrides in page session:',
window.sessionStorage.getItem(storageKey));
};
EOT
~ etag = "29f8239adf8fb66d3126c76438000023" -> "db1c77273a8b7e994d4681adc49c8509"
id = "/config/deploy-config.js"
tags = {}
~ version_id = "9ouo3NYM4BdO34Uz3p1b.VEOT1ERjkZP" -> (known after apply)
# (10 unchanged attributes hidden)
}
# module.website.aws_s3_object.origin_dist_artifact["arpa_reporter/index.html"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "7ac4a50b4d2f18d837ecbdbdcc32e758" -> "76e14d9ad3297110ae1d627c72ec1583"
id = "dist/arpa_reporter/index.html"
~ source_hash = "7ac4a50b4d2f18d837ecbdbdcc32e758" -> "76e14d9ad3297110ae1d627c72ec1583"
tags = {}
~ version_id = "xj9p2jdWXyyosNcydosVDDZ0bgGh9veq" -> (known after apply)
# (11 unchanged attributes hidden)
}
# module.website.aws_s3_object.origin_dist_artifact["css/265.512b2d7a.css"] will be destroyed
# (because key ["css/265.512b2d7a.css"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/css" -> null
- etag = "45e91c2c563852d4a8da73e6d054da29" -> null
- force_destroy = false -> null
- id = "dist/css/265.512b2d7a.css" -> null
- key = "dist/css/265.512b2d7a.css" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/265.512b2d7a.css" -> null
- source_hash = "45e91c2c563852d4a8da73e6d054da29" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "Mm3xDbAXtx9MriaNgLlGsDIEZ96ZyNld" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["css/300.fecb0d7b.css"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/css"
+ etag = "3838e444df53459b2c636990602e8416"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/css/300.fecb0d7b.css"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/300.fecb0d7b.css"
+ source_hash = "3838e444df53459b2c636990602e8416"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["css/332.823258ed.css"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/css"
+ etag = "6140c31a5942ba122f75f27c1543a23a"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/css/332.823258ed.css"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/332.823258ed.css"
+ source_hash = "6140c31a5942ba122f75f27c1543a23a"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["css/377.dec853f0.css"] will be destroyed
# (because key ["css/377.dec853f0.css"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/css" -> null
- etag = "0e6b3cef8e0a90cf49a663643b1b0414" -> null
- force_destroy = false -> null
- id = "dist/css/377.dec853f0.css" -> null
- key = "dist/css/377.dec853f0.css" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/377.dec853f0.css" -> null
- source_hash = "0e6b3cef8e0a90cf49a663643b1b0414" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "nXmnl4yuX4J2.QntchedbeW86N9Kz4fY" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["css/404.5dbff179.css"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/css"
+ etag = "24d2eb9260e5e87d78ef1b5d5ed79965"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/css/404.5dbff179.css"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/404.5dbff179.css"
+ source_hash = "24d2eb9260e5e87d78ef1b5d5ed79965"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["css/528.714dbc12.css"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/css"
+ etag = "fcfe58cf46dfb3df6d2b1c3b2a129cf9"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/css/528.714dbc12.css"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/528.714dbc12.css"
+ source_hash = "fcfe58cf46dfb3df6d2b1c3b2a129cf9"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["css/842.5dbff179.css"] will be destroyed
# (because key ["css/842.5dbff179.css"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/css" -> null
- etag = "24d2eb9260e5e87d78ef1b5d5ed79965" -> null
- force_destroy = false -> null
- id = "dist/css/842.5dbff179.css" -> null
- key = "dist/css/842.5dbff179.css" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/842.5dbff179.css" -> null
- source_hash = "24d2eb9260e5e87d78ef1b5d5ed79965" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "i4w07RN0Lbinr9jRX2nEWzNG8d_XamRq" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["css/914.823258ed.css"] will be destroyed
# (because key ["css/914.823258ed.css"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/css" -> null
- etag = "6140c31a5942ba122f75f27c1543a23a" -> null
- force_destroy = false -> null
- id = "dist/css/914.823258ed.css" -> null
- key = "dist/css/914.823258ed.css" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/914.823258ed.css" -> null
- source_hash = "6140c31a5942ba122f75f27c1543a23a" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "PVzALYFaUt3YH6PezWqpazAK3vPVIukT" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["css/925.912e6579.css"] will be destroyed
# (because key ["css/925.912e6579.css"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/css" -> null
- etag = "9a60e24bb55555d5b7eb044358de3a23" -> null
- force_destroy = false -> null
- id = "dist/css/925.912e6579.css" -> null
- key = "dist/css/925.912e6579.css" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/925.912e6579.css" -> null
- source_hash = "9a60e24bb55555d5b7eb044358de3a23" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "Cnl_x7UjyRtHO.sURefiJb.eXh1Pz9Eh" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["css/964.6230b33b.css"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/css"
+ etag = "6435f6074d73d008ba306e9a7a95c3a9"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/css/964.6230b33b.css"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/css/964.6230b33b.css"
+ source_hash = "6435f6074d73d008ba306e9a7a95c3a9"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["index.html"] will be updated in-place
~ resource "aws_s3_object" "origin_dist_artifact" {
~ etag = "fd9e056481eeab35f74d3838a94ad456" -> "2bf775080de36d5a306f150de889d02b"
id = "dist/index.html"
~ source_hash = "fd9e056481eeab35f74d3838a94ad456" -> "2bf775080de36d5a306f150de889d02b"
tags = {}
~ version_id = "UmzcOsmyoYwJS_dY1tf_Wj8H_x9UoGH_" -> (known after apply)
# (11 unchanged attributes hidden)
}
# module.website.aws_s3_object.origin_dist_artifact["js/207.a0148f46.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "50d10af43d673b40f28caec9f62d7cd8"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/207.a0148f46.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/207.a0148f46.js"
+ source_hash = "50d10af43d673b40f28caec9f62d7cd8"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/207.a0148f46.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "2101aa462ebf86c61fc036dc897ec4a1"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/207.a0148f46.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/207.a0148f46.js.map"
+ source_hash = "2101aa462ebf86c61fc036dc897ec4a1"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/265.1e8609da.js"] will be destroyed
# (because key ["js/265.1e8609da.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "ce9c463a988978ed3c838bd4bb11aa21" -> null
- force_destroy = false -> null
- id = "dist/js/265.1e8609da.js" -> null
- key = "dist/js/265.1e8609da.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/265.1e8609da.js" -> null
- source_hash = "ce9c463a988978ed3c838bd4bb11aa21" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "8U0poKoHDElh2hWhwRrfCFnbHkp30oBO" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/265.1e8609da.js.map"] will be destroyed
# (because key ["js/265.1e8609da.js.map"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "application/json" -> null
- etag = "049d431a4ea3e5e6529ea0fa990528f1" -> null
- force_destroy = false -> null
- id = "dist/js/265.1e8609da.js.map" -> null
- key = "dist/js/265.1e8609da.js.map" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/265.1e8609da.js.map" -> null
- source_hash = "049d431a4ea3e5e6529ea0fa990528f1" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "DarsnJwqZ85VO2j2s.0RPAGkM_p6aX8q" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/300.42af411d.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "35f7fae6103b83a26241f4d0783c46d7"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/300.42af411d.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/300.42af411d.js"
+ source_hash = "35f7fae6103b83a26241f4d0783c46d7"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/300.42af411d.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "8b9bab19815f9d4603e77ef764077c44"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/300.42af411d.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/300.42af411d.js.map"
+ source_hash = "8b9bab19815f9d4603e77ef764077c44"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/319.01d8c946.js"] will be destroyed
# (because key ["js/319.01d8c946.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "b4d50cb9e461607a34c8093ed990815b" -> null
- force_destroy = false -> null
- id = "dist/js/319.01d8c946.js" -> null
- key = "dist/js/319.01d8c946.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/319.01d8c946.js" -> null
- source_hash = "b4d50cb9e461607a34c8093ed990815b" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "J1qfeRdGEUFNlmutOC4jdHprCgNspz.m" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/319.01d8c946.js.map"] will be destroyed
# (because key ["js/319.01d8c946.js.map"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "application/json" -> null
- etag = "fc9cc5d4d465431cd3519cd2fb42d18d" -> null
- force_destroy = false -> null
- id = "dist/js/319.01d8c946.js.map" -> null
- key = "dist/js/319.01d8c946.js.map" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/319.01d8c946.js.map" -> null
- source_hash = "fc9cc5d4d465431cd3519cd2fb42d18d" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "xLBfkmUpWc3SUQ44WltroDw6Bf2CJPlk" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/319.ce8303b2.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "2cbc7362737abd2adc2253ef1ebf01d2"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/319.ce8303b2.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/319.ce8303b2.js"
+ source_hash = "2cbc7362737abd2adc2253ef1ebf01d2"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/319.ce8303b2.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "7307bdda3b6cdfca339c556518bbef88"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/319.ce8303b2.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/319.ce8303b2.js.map"
+ source_hash = "7307bdda3b6cdfca339c556518bbef88"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/332.78842ec1.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "fb92d7cee7f3969020d63fff5e49abbe"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/332.78842ec1.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/332.78842ec1.js"
+ source_hash = "fb92d7cee7f3969020d63fff5e49abbe"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/332.78842ec1.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "f5bd06908c9b57fc44f54de432a59ed7"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/332.78842ec1.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/332.78842ec1.js.map"
+ source_hash = "f5bd06908c9b57fc44f54de432a59ed7"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/377.4cb24ec8.js"] will be destroyed
# (because key ["js/377.4cb24ec8.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "d3b2eef2fb7fd2fcd4bd318088a16f52" -> null
- force_destroy = false -> null
- id = "dist/js/377.4cb24ec8.js" -> null
- key = "dist/js/377.4cb24ec8.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/377.4cb24ec8.js" -> null
- source_hash = "d3b2eef2fb7fd2fcd4bd318088a16f52" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "zbYik8xp5dMIdz7fbFLho0qylygChxFj" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/377.4cb24ec8.js.map"] will be destroyed
# (because key ["js/377.4cb24ec8.js.map"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "application/json" -> null
- etag = "0a68423b42247304c16b262a695e1c39" -> null
- force_destroy = false -> null
- id = "dist/js/377.4cb24ec8.js.map" -> null
- key = "dist/js/377.4cb24ec8.js.map" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/377.4cb24ec8.js.map" -> null
- source_hash = "0a68423b42247304c16b262a695e1c39" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "52.trgXKEG6kE0HSu7eyDeXbTfBJsHTD" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/404.ac06a0aa.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "b3fe217d873ae1345d95513f51893dff"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/404.ac06a0aa.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/404.ac06a0aa.js"
+ source_hash = "b3fe217d873ae1345d95513f51893dff"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/404.ac06a0aa.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "7d99d29c3d301694cd73cdfeed6bd01c"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/404.ac06a0aa.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/404.ac06a0aa.js.map"
+ source_hash = "7d99d29c3d301694cd73cdfeed6bd01c"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/409.4cd49965.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "b7503f4e113a8cf5dd0d5624438fb728"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/409.4cd49965.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/409.4cd49965.js"
+ source_hash = "b7503f4e113a8cf5dd0d5624438fb728"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/409.4cd49965.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "e5952dd15816155e4559ec16cea43381"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/409.4cd49965.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/409.4cd49965.js.map"
+ source_hash = "e5952dd15816155e4559ec16cea43381"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/409.edf71f85.js"] will be destroyed
# (because key ["js/409.edf71f85.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "31abe823831f6a8cf08ddc3ff2de8984" -> null
- force_destroy = false -> null
- id = "dist/js/409.edf71f85.js" -> null
- key = "dist/js/409.edf71f85.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/409.edf71f85.js" -> null
- source_hash = "31abe823831f6a8cf08ddc3ff2de8984" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "2ujFVWCc3IyMYm2U4C5QtDlfa4GPybVp" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/409.edf71f85.js.map"] will be destroyed
# (because key ["js/409.edf71f85.js.map"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "application/json" -> null
- etag = "a5101ccc162fc74f878bcff1c2cc4ae1" -> null
- force_destroy = false -> null
- id = "dist/js/409.edf71f85.js.map" -> null
- key = "dist/js/409.edf71f85.js.map" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/409.edf71f85.js.map" -> null
- source_hash = "a5101ccc162fc74f878bcff1c2cc4ae1" -> null
- storage_class = "STANDARD" -> null
- tags = {} -> null
- tags_all = {
- "env" = "staging"
- "management" = "terraform"
- "owner" = "grants"
- "repo" = "usdr-gost"
- "service" = "gost"
- "usage" = "workload"
} -> null
- version_id = "ATidVxQTGb3D0DHvkQwt57CpwlPUi9LN" -> null
}
# module.website.aws_s3_object.origin_dist_artifact["js/528.769d3b7a.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "9c9a304fb0e2437283efa5654bebf0b8"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/528.769d3b7a.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/528.769d3b7a.js"
+ source_hash = "9c9a304fb0e2437283efa5654bebf0b8"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/528.769d3b7a.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "30f70af0a541a7754f41e96d1060864d"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/528.769d3b7a.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/528.769d3b7a.js.map"
+ source_hash = "30f70af0a541a7754f41e96d1060864d"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/553.152fb012.js"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "text/javascript"
+ etag = "04d9931d8b0a5c819d948004764bf7e2"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/553.152fb012.js"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/553.152fb012.js"
+ source_hash = "04d9931d8b0a5c819d948004764bf7e2"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/553.152fb012.js.map"] will be created
+ resource "aws_s3_object" "origin_dist_artifact" {
+ acl = "private"
+ bucket = "gost-staging-origin-357150818708-us-west-2-website"
+ bucket_key_enabled = (known after apply)
+ content_type = "application/json"
+ etag = "f3172c56593c5aacfc2d4e1e767157c2"
+ force_destroy = false
+ id = (known after apply)
+ key = "dist/js/553.152fb012.js.map"
+ kms_key_id = (known after apply)
+ server_side_encryption = "AES256"
+ source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/553.152fb012.js.map"
+ source_hash = "f3172c56593c5aacfc2d4e1e767157c2"
+ storage_class = (known after apply)
+ tags_all = {
+ "env" = "staging"
+ "management" = "terraform"
+ "owner" = "grants"
+ "repo" = "usdr-gost"
+ "service" = "gost"
+ "usage" = "workload"
}
+ version_id = (known after apply)
}
# module.website.aws_s3_object.origin_dist_artifact["js/553.8c6b6bce.js"] will be destroyed
# (because key ["js/553.8c6b6bce.js"] is not in for_each map)
- resource "aws_s3_object" "origin_dist_artifact" {
- acl = "private" -> null
- bucket = "gost-staging-origin-357150818708-us-west-2-website" -> null
- bucket_key_enabled = false -> null
- content_type = "text/javascript" -> null
- etag = "6a1a1dfafb4705cff64c1a6aa9ea7d59" -> null
- force_destroy = false -> null
- id = "dist/js/553.8c6b6bce.js" -> null
- key = "dist/js/553.8c6b6bce.js" -> null
- metadata = {} -> null
- server_side_encryption = "AES256" -> null
- source = "/home/runner/work/usdr-gost/usdr-gost/packages/client/dist/js/553.8c6b6bce.js" -> null
- source_hash = "6a1a1dfafb...*[Comment body truncated]* |
6540160
to
ea25ba3
Compare
ea25ba3
to
9fdcdf5
Compare
9fdcdf5
to
0905fa1
Compare
0905fa1
to
78ba2c9
Compare
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.
Looks good! the code is much more readable with these changes given that they are managed in separate files.
Pagination changes look good as well 👍
78ba2c9
to
95d01c4
Compare
@@ -112,55 +49,18 @@ export default { | |||
...mapGetters({ | |||
grants: 'grants/grants', | |||
grantsInterested: 'grants/grantsInterested', | |||
totalInterestedGrants: 'dashboard/totalInterestedGrants', | |||
totalInterestedGrants: 'grants/totalInterestedGrants', |
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.
The total number of interested grants reported in the pagination control will now come from the total count that is returned from fetchGrantsInterested
. Since that's also the call that retrieves the list of interested grants that we are displaying here, it seems to make sense to display the total returned from that call.
Previously, we were displaying the list of interested grants from fetchGrantsInterested
but the total count of interested grants from fetchDashboard
. Both endpoints count grants that the user's team is interested in - the difference between the endpoints is that fetchGrantsInterested
also counts grants that the subteams of the user's team are interested in.
retVal = this.statuses.awarded; | ||
} else if (grantsInterested.interested_name === 'Pending') { | ||
retVal = this.statuses.applied; | ||
} else if (grantsInterested.interested_name === 'Non-award') { |
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.
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.
The Grants table and the Upcoming Closing Dates table both have logic to determine whether a grant's close date is imminent. I extracted part of the date handling logic into a utility function so that it could be shared.
const rows = await db.getClosestGrants({ agency: req.session.selectedAgency, perPage, currentPage }); | ||
res.json(rows); | ||
const { data, pagination } = await db.getClosestGrants({ agency: req.session.selectedAgency, perPage, currentPage }); | ||
|
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.
We display the names of interested agencies in the "Upcoming Closing Dates" table. Previously, we were retrieving these names by making a series of calls to /grants/:grantId/interested once the /grants/closestGrants call had returned. Now, we'll wrap all of that data fetching into the /grants/closestGrants call itself.
@@ -1066,6 +1066,7 @@ async function getClosestGrants({ | |||
.whereIn('grants_interested.agency_id', agencies.map((a) => a.id)) | |||
.andWhere('close_date', '>=', timestamp) | |||
.andWhere('interested_codes.status_code', '!=', 'Rejected') | |||
.groupBy('grants.title', 'grants.close_date', 'grants.grant_id') |
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.
This "GROUP BY" has always needed to be here. Without it, a grant will be returned twice if both an agency and its sub-agency are interested in the grant.
e169414
to
a9b6909
Compare
a9b6909
to
691a2db
Compare
Ticket #949
Description
This PR fixes a few problems with the Dashboard tab and its associated pages.
Pagination controls
The pagination controls on both the
/RecentActivity
and/UpcomingClosingDates
pages were weird looking:These issues were fixed. Now the pagination controls look like the ones on the "Browse Grants" page. Also, I added the page number to the URL for
/RecentActivity
and/UpcomingClosingDates
, so that clicking on a grant and then clicking "Back" takes the user to the most recently viewed page of results.Strange looking rows in Recent Activity
The Recent Activity table displayed the occasional strange looking row, consisting of just a grant name and a date. These occurred because there was no display code to handle certain types of activities. This was fixed.
Date display format in Upcoming Closing Dates
Throughout the app, dates are formatted with the
en-US
locale (exp., 11/6/2023), except in the Upcoming Closing Dates table, where they are specially formatted to have exactly six digits (exp., 11/06/23). This may have been done on purpose (to make alignment pretty in the table?) but I decided to eliminate this inconsistency.Refactoring
ActivityTable
component to be used in both the Dashboard left-hand column and the/RecentActivity
page.ClosingDatesTable
component to be used in both the Dashboard right-hand column and the/UpcomingClosingDates
page.Screenshots / Demo Video
Current Recent Activity page:
New Recent Activity page:
Current Upcoming Closing Dates page:
New Upcoming Closing Dates page:
Testing
No special instructions to run. Start up the app and click around:
Automated and Unit Tests
Manual tests for Reviewer
Checklist