As a developer of Notify, I would like to be able to automatically sync the asset folder of admin using Terraform, and have multiple different file types so that the system deployment is fully automated.
WHY are we building?
Currently we hard-code the mime (content) type of all assets to svg images. This is because terraform doesn't seem to look at the content type of a file when uploading to an S3 bucket
WHAT are we building?
Investigate a way to have terraform read the content type of a file and set it appropriately when uploading to S3
VALUE created by our solution
Better user experience, increased stability
Acceptance Criteria
[ ] Assets that are saved in the notification-admin repo are automatically uploaded to the cloudfront S3 cache with the correct mime type
Description
As a developer of Notify, I would like to be able to automatically sync the asset folder of admin using Terraform, and have multiple different file types so that the system deployment is fully automated.
WHY are we building?
Currently we hard-code the mime (content) type of all assets to svg images. This is because terraform doesn't seem to look at the content type of a file when uploading to an S3 bucket
WHAT are we building?
Investigate a way to have terraform read the content type of a file and set it appropriately when uploading to S3
VALUE created by our solution
Better user experience, increased stability
Acceptance Criteria
QA Steps