cloudfront

clouddrove/cloudfront/aws

Terraform Module HCL AWS

Terraform module provisions CloudFront CDN resource on AWS.

Install
module "cloudfront" {
source = "clouddrove/cloudfront/aws"
version = "1.1.0"
}
plain text: /constructs/tfmod-clouddrove-cloudfront-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

![Banner][website] Terraform AWS Cloudfront CDN With our comprehensive DevOps toolkit - streamline operations, automate workflows, enhance collaboration and, most importantly, deploy with confidence. We are a group of DevOps engineers & architects, joining hands in this ever evolving digital landscape. With our strong belief in Automation; just like microservices, always on the lookout to split the the infrastructure into smaller connected resources (database, cluster and more) which could be standardized, are manageable, scalable, secure & follow industry best practices. This module includes Terraform open source, examples, and automation tests (for better understanding), which would help you create and improve your infrastructure with minimalistic coding. Prerequisites and Providers This

Inputs (50)
NameTypeDescriptionDefault
error_codestringList of forwarded cookie names."403"
http_versionstringThe maximum HTTP version to support on the distribution. Allowed values are http"http2"
default_cache_behavioranyThe default cache behavior for this distributionnull
web_acl_idstringWeb ACL ID that can be attached to the Cloudfront distribution.""
response_codestringpage not found code"404"
bucket_namestringA unique identifier for the origin.""
originanyOne or more origins for this distribution (multiples allowed).null
viewer_protocol_policystringAllow-all, redirect-to-https.""
default_ttlnumberDefault amount of time (in seconds) that an object is in a CloudFront cache.60
origin_read_timeoutnumberThe Custom Read timeout, in seconds. By default, AWS enforces a limit of 60. But60
custom_error_responseanyOne or more custom error response elements{}
wait_for_deploymentboolIf enabled, the resource will wait for the distribution status to change from Intrue
error_caching_min_ttlstringthe value of errro caching min ttl"10"
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
compressboolCompress content for web requests that include Accept-Encoding: gzip in the requfalse
geo_restriction_typestringMethod that use to restrict distribution of your content by country: `none`, `wh"none"
namestringName (e.g. `app` or `cluster`).""
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
logging_configanyThe logging configuration that controls how logs are written to your distributio{}
price_classstringPrice class for this distribution: `PriceClass_All`, `PriceClass_200`, `PriceCla"PriceClass_100"
… and 10 more inputs
Outputs (10)
status — The current status of the distribution.
domain_name — The domain name corresponding to the distribution.
hosted_zone_id — The CloudFront Route 53 zone ID that can be used to route an Alias Resource Record Set to.
pubkey_id — The identifier for the public key.
pubkey_etag — The current version of the public key.
access_identity_ids — The IDS of the origin access identities created
id — The identifier for the distribution.
etag — The current version of the distribution's information.
tags — A mapping of tags to assign to the resource.
arn — The ARN (Amazon Resource Name) for the distribution.
Resources (5)
aws_cloudfront_distributionaws_cloudfront_origin_access_controlaws_cloudfront_origin_access_identityaws_cloudfront_public_keyaws_cloudfront_vpc_origin
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.0
Cloud AWS
★ Stars1
Forks1
Total downloads7.3k
Inputs50
Outputs10
Resources5
Examples4
LicenseApache-2.0
Namespaceclouddrove
Updated