Skip to content

Commit

Permalink
Merge pull request #345 from dasmeta/DMVP-4751
Browse files Browse the repository at this point in the history
fix(DMVP-4751): Add origin Path
  • Loading branch information
aghamyan44 authored Aug 16, 2024
2 parents 2882842 + 41cef02 commit 35a6632
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/cloudfront/distribution.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ resource "aws_cloudfront_distribution" "main" {
connection_timeout = var.connection_timeout
domain_name = try(origin.value.domain_name, origin.value.target)
origin_id = try(origin.value.origin_id, origin.value.target)
origin_path = lookup(origin.value, "origin_path", "")
origin_access_control_id = lookup(origin.value, "origin_access_control_id", null)

dynamic "custom_origin_config" {
Expand Down

0 comments on commit 35a6632

Please sign in to comment.