Skip to content
HCL JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
main.tf
readme.md

readme.md

S3 Signed URLs through CloudFront

Prerequisites

  • npm
  • terraform

Deploy

  • cd src && npm ci
  • terraform apply
  • wait patiently

Use

To get a signed URL:

terraform output signer_url

To get the HTML through the signed URL:

curl -s $(curl -s $(terraform output signer_url))

Destroy

terraform destroy
You can’t perform that action at this time.