Skip to content

flagscript/terraform-aws-flagscript-headless-distribution

Repository files navigation

Requirements

Name Version
terraform >= 1.9
aws >= 5.60

Providers

Name Version
aws >= 5.60
aws.dist >= 5.60
aws.dns >= 5.60

Modules

Name Source Version
distribution_bucket flagscript/flagscript-s3-bucket/aws 3.1.0

Resources

Name Type
aws_acm_certificate.distribution_certificate resource
aws_acm_certificate_validation.test_flagscript_net_dvo resource
aws_cloudfront_cache_policy.default_cache_policy resource
aws_cloudfront_distribution.cloudfront_distribution resource
aws_cloudfront_origin_access_control.origin_access_control resource
aws_iam_policy.github_deployment_policy resource
aws_iam_role_policy_attachment.github_deployment_role_policy_attachment resource
aws_route53_record.acm_validation_records resource
aws_route53_record.apex_record resource
aws_s3_object.test_index resource
aws_iam_policy_document.github_deployment_policy_document data source
aws_route53_zone.site_domain data source

Inputs

Name Description Type Default Required
default_root_object Object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. string "index.html" no
deploy_test_index Whether or not to create a test index.html file. bool false no
domain The domain of the headless website. string n/a yes
github_deployment_target The branch or environment to deploy to. The '*' charachter may be used wildcard. string "main" no
github_deployment_type Whether github actions should deploy on branch or environment. All may be used for a global wildcard. string "branch" no
github_repository The github repository to push the website. string "" no
hosted_zone_name Name of the hosted zone to hold the route 53 records. string n/a yes
use_github_actions Whether or not to setup github actions deployment. bool false no

Outputs

Name Description
distribution_arn ARN for the distribution.
distribution_id Identifier for the distribution.

About

Headless distribution module for flagscript setups adhering to reasonable aws standards.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages