Skip to content

Commit

Permalink
Fix aliases (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Sep 22, 2017
1 parent 940ded0 commit 7bd0871
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Terraform Module that implements a CloudFront Distribution (CDN) for a custom origin (e.g. website) and [ships logs to a bucket](https://github.com/cloudposse/terraform-aws-log-storage).

If you need to accelerate an S3 bucket, we suggest using [`tf_cdn_s3`](https://github.com/cloudposse/terraform-cloudfront-s3-cdn) instead.
If you need to accelerate an S3 bucket, we suggest using [`terraform-aws-cloudfront-s3-cdn`](https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn) instead.

## Usage

```hcl
module "cdn" {
source = "git::https://github.com/cloudposse/tf_cdn.git?ref=master"
source = "git::https://github.com/cloudposse/terraform-aws-cloudfront-cdn.git?ref=master"
namespace = "${var.namespace}"
stage = "${var.stage}"
name = "${var.name}"
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aws_cloudfront_distribution" "default" {
prefix = "${var.log_prefix}"
}

aliases = "${var.aliases}"
aliases = ["${var.aliases}"]

origin {
domain_name = "${var.origin_domain_name}"
Expand Down

0 comments on commit 7bd0871

Please sign in to comment.