Skip to content

KazuyaMiyagi/terraform-aws-cloudfront-invalidator

Repository files navigation

Amazon Cloudfront invalidator Terraform module

This terraform module creates an Amazon CloudFront distribution Invalidation project in CodeBuild

Usage

module "cloudfront-invalidator" {
  source                                  = "KazuyaMiyagi/cloudfront-invalidator/aws"
  invalidator_log_group_name              = "/aws/codebuild/invalidator"
  codepipeline_source_artifact_bucket_arn = aws_s3_bucket.pipeline_artifact.arn
}

Examples

Requirements

Name Version
terraform >= 0.12.*
aws >= 3.12.*

Providers

Name Version
aws >= 3.12.*

Inputs

Name Description Type Default Required
invalidator_log_group_name CloudWatch Logs log group name string "/aws/codebuild/invalidator" no
codepipeline_source_artifact_bucket_arn CodePipeline Source artifact bucket arn string "" yes

Outputs

Name Description
project_name CodeBuild project name
arn CodeBuild project arn

License

Apache 2 Licensed. See LICENSE for full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages