From bb83e87803ab43b2ea8729154b09724bc143e88a Mon Sep 17 00:00:00 2001 From: Roland Bapst Date: Thu, 22 Aug 2024 16:00:09 +0200 Subject: [PATCH 1/3] doc: fix example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a91dbd..3ec96ca 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ This module provides a CloudFront distribution, with SSL certificates from Custo ```tf module "cdn" { - source = "github.com/DND-IT/infra-terraform-module.git//cloudfront?ref=cloudfront-v5.2.2" + source = "tx-pts-dai/cloudfront/aws" + version = "2.0.1" enable_cloudfront = true aliases = ["www.example.com", "beta.example.com", "*.beta.example.com"] http_version = var.cloudfront_http_version From a2f1f752a44e7206d24f3ed81a1230eb6713519e Mon Sep 17 00:00:00 2001 From: Roland Bapst Date: Thu, 3 Oct 2024 18:16:18 +0200 Subject: [PATCH 2/3] doc: precision about aws provider in us-east-1 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 3ec96ca..ba13354 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ module "cdn" { } } dynamic_ordered_cache_behavior = var.cloudfront_ordered_cache_behaviour # Same as the default one, but ordered + + providers = { + aws = aws.us # AWS provider should be in region "us-east-1" + } } ``` From d83ecad64a783d353d7a4fda90780064a42dd09b Mon Sep 17 00:00:00 2001 From: Roland Bapst Date: Thu, 3 Oct 2024 18:18:11 +0200 Subject: [PATCH 3/3] doc: use current version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba13354..77a0f7d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This module provides a CloudFront distribution, with SSL certificates from Custo ```tf module "cdn" { source = "tx-pts-dai/cloudfront/aws" - version = "2.0.1" + version = "2.0.0" enable_cloudfront = true aliases = ["www.example.com", "beta.example.com", "*.beta.example.com"] http_version = var.cloudfront_http_version