Skip to content

Commit

Permalink
Rename Repo (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Sep 21, 2017
1 parent 1037226 commit 940ded0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# tf_cdn
# terraform-aws-cloudfront-cdn

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/tf_log_storage).
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/tf_cdn_s3) instead.
If you need to accelerate an S3 bucket, we suggest using [`tf_cdn_s3`](https://github.com/cloudposse/terraform-cloudfront-s3-cdn) instead.

## Usage

```terraform
```hcl
module "cdn" {
source = "git::https://github.com/cloudposse/tf_cdn.git?ref=master"
namespace = "${var.namespace}"
Expand Down
8 changes: 4 additions & 4 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "origin_label" {
source = "git::https://github.com/cloudposse/tf_label.git?ref=tags/0.2.0"
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.2.1"
namespace = "${var.namespace}"
stage = "${var.stage}"
name = "${var.name}"
Expand All @@ -13,7 +13,7 @@ resource "aws_cloudfront_origin_access_identity" "default" {
}

module "logs" {
source = "git::https://github.com/cloudposse/tf_log_storage.git?ref=tags/0.1.0"
source = "git::https://github.com/cloudposse/terraform-aws-log-storage.git?ref=tags/0.1.2"
namespace = "${var.namespace}"
stage = "${var.stage}"
name = "${var.name}"
Expand All @@ -27,7 +27,7 @@ module "logs" {
}

module "distribution_label" {
source = "git::https://github.com/cloudposse/tf_label.git?ref=tags/0.2.0"
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.2.1"
namespace = "${var.namespace}"
stage = "${var.stage}"
name = "${var.name}"
Expand Down Expand Up @@ -103,7 +103,7 @@ resource "aws_cloudfront_distribution" "default" {
}

module "dns" {
source = "git::https://github.com/cloudposse/tf_vanity.git?ref=tags/0.2.0"
source = "git::https://github.com/cloudposse/terraform-aws-route53-alias.git?ref=tags/0.2.2"
aliases = "${var.aliases}"
parent_zone_id = "${var.parent_zone_id}"
parent_zone_name = "${var.parent_zone_name}"
Expand Down

0 comments on commit 940ded0

Please sign in to comment.