Skip to content

Latest commit

 

History

History

Standalone CloudFront Distribution Example

This project is an example of how to create a new standalone CloudFront distribution for the Fingerprint proxy integration Terraform module.

For maximum possible accuracy, consider adding the module to your website's existing CloudFront distribution instead. Learn more in the CloudFront Proxy Terraform installation guide.

Running the example

To quickly run the example for testing purposes, you can:

  1. Copy the terraform.tfvars.example file into a new terraform.tfvars file and replace the values with your own. The variables are defined and described in the variables.tf file.
  2. Run terraform init.
  3. Run terraform plan.
  4. Run terraform apply.

The domain-related resources and variables are commented out for simplicity but you can uncomment them or use just them as a reference.

Using in production

This is a simplified example. Use it as a reference but make sure to adjust the code to your needs and security practices before deploying it to production environments.

Additional resources