Skip to content

Commit

Permalink
add tags in url
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Dugar committed Nov 14, 2019
1 parent f207fe6 commit 9e4967c
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Here are some examples of how you can use this module in your inventory structur
### CDN With Basic Bucket
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "basic-cdn"
application = "clouddrove"
environment = "test"
Expand All @@ -85,7 +85,7 @@ Here are some examples of how you can use this module in your inventory structur
### CDN With Secure Bucket
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "secure-cdn"
application = "clouddrove"
environment = "test"
Expand All @@ -104,7 +104,7 @@ Here are some examples of how you can use this module in your inventory structur
### CDN With Domain
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "domain-cdn"
application = "clouddrove"
environment = "test"
Expand Down
6 changes: 3 additions & 3 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ usage : |-
### CDN With Basic Bucket
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "basic-cdn"
application = "clouddrove"
environment = "test"
Expand All @@ -58,7 +58,7 @@ usage : |-
### CDN With Secure Bucket
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "secure-cdn"
application = "clouddrove"
environment = "test"
Expand All @@ -77,7 +77,7 @@ usage : |-
### CDN With Domain
```hcl
module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"
name = "domain-cdn"
application = "clouddrove"
environment = "test"
Expand Down
6 changes: 3 additions & 3 deletions _example/bucket-basic/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "s3_bucket" {
source = "git::https://github.com/clouddrove/terraform-aws-s3.git"
source = "git::https://github.com/clouddrove/terraform-aws-s3.git?ref=tags/0.12.2"

name = "basic-bucket-cdn"
region = "us-east-1"
Expand All @@ -17,7 +17,7 @@ module "s3_bucket" {
}

module "acm" {
source = "git::https://github.com/clouddrove/terraform-aws-acm.git"
source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.0"

name = "certificate"
application = "clouddrove"
Expand All @@ -30,7 +30,7 @@ module "acm" {
}

module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"

name = "basic-cdn"
application = "clouddrove"
Expand Down
6 changes: 3 additions & 3 deletions _example/bucket-secure/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "s3_bucket" {
source = "git::https://github.com/clouddrove/terraform-aws-s3.git"
source = "git::https://github.com/clouddrove/terraform-aws-s3.git?ref=tags/0.12.2"

name = "secure-bucket-cdn"
region = "us-east-1"
Expand All @@ -17,7 +17,7 @@ module "s3_bucket" {
}

module "acm" {
source = "git::https://github.com/clouddrove/terraform-aws-acm.git"
source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.0"

name = "certificate"
application = "clouddrove"
Expand All @@ -30,7 +30,7 @@ module "acm" {
}

module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"

name = "secure-cdn"
application = "clouddrove"
Expand Down
4 changes: 2 additions & 2 deletions _example/domain-cdn/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ provider "aws" {
}

module "acm" {
source = "git::https://github.com/clouddrove/terraform-aws-acm.git"
source = "git::https://github.com/clouddrove/terraform-aws-acm.git?ref=tags/0.12.0"

name = "certificate"
application = "clouddrove"
Expand All @@ -16,7 +16,7 @@ module "acm" {
}

module "cdn" {
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git"
source = "git::https://github.com/clouddrove/terraform-aws-cloudfront-cdn.git?ref=tags/0.12.0"

name = "domain-cdn"
application = "clouddrove"
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# tags for resources. You can use terraform-labels to implement a strict
# naming convention.
module "labels" {
source = "git::https://github.com/clouddrove/terraform-labels.git"
source = "git::https://github.com/clouddrove/terraform-labels.git?ref=tags/0.12.0"

name = var.name
application = var.application
Expand Down Expand Up @@ -172,5 +172,5 @@ resource "aws_cloudfront_public_key" "default" {

comment = var.comment
encoded_key = file(var.public_key)
name = module.labels.id
name = format("%s-key", module.labels.id)
}

0 comments on commit 9e4967c

Please sign in to comment.