Skip to content
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

Sets the content-type of the current version file #40

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

mike-carey
Copy link
Contributor

Problem

Terraform requires that the content-type of the s3 object is set to something human readable such as text/plain or application/json. If not set, terraform quietly does not provide the body attribute.

Solution

Sets the content-type for the current version file.

Notes

We can add a test for this, but would need to look up how to get that information without using file $filename after download.

@mike-carey mike-carey added the bug Something isn't working label Oct 9, 2023
@mike-carey mike-carey temporarily deployed to staging October 9, 2023 23:59 — with GitHub Actions Inactive
@mike-carey mike-carey merged commit 8cba5a8 into main Oct 11, 2023
5 checks passed
@mike-carey mike-carey deleted the bugfix/set-current-version-file-content-type branch October 11, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants