Skip to content

Commit

Permalink
doc: fix example (#2)
Browse files Browse the repository at this point in the history
* doc: fix example
  • Loading branch information
rbapst-tamedia authored Oct 3, 2024
1 parent c33fc1a commit d2a5ef7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0"
enable_cloudfront = true
aliases = ["www.example.com", "beta.example.com", "*.beta.example.com"]
http_version = var.cloudfront_http_version
Expand All @@ -31,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"
}
}
```

Expand Down

0 comments on commit d2a5ef7

Please sign in to comment.