Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
fix: Drift: aws_cloudfront_distribution_origins should only include r…
Browse files Browse the repository at this point in the history
…ows with origin_access_identity set (#515)
  • Loading branch information
disq authored Mar 1, 2022
1 parent 0eaa035 commit 3f24e43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/provider/moduledata/drift/1/drift.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,9 @@ provider "aws" {

resource "aws_cloudfront_distribution_origins" {
identifiers = [ sql("SPLIT_PART(c.s3_origin_config_origin_access_identity,'/', 3)") ]
filters = [
"c.s3_origin_config_origin_access_identity IS NOT NULL AND c.s3_origin_config_origin_access_identity!=''"
]

iac {
terraform {
Expand Down

0 comments on commit 3f24e43

Please sign in to comment.