Skip to content

Commit

Permalink
Merge pull request #18540 from atz/patch-1
Browse files Browse the repository at this point in the history
Clarify resource name
  • Loading branch information
ewbankkit authored Apr 21, 2021
2 parents 004d2ef + 6e4db59 commit ac06ced
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ origin access identities, see
The following example below creates a CloudFront origin access identity.

```terraform
resource "aws_cloudfront_origin_access_identity" "origin_access_identity" {
resource "aws_cloudfront_origin_access_identity" "example" {
comment = "Some comment"
}
```
Expand Down Expand Up @@ -82,7 +82,7 @@ data "aws_iam_policy_document" "s3_policy" {
principals {
type = "AWS"
identifiers = [aws_cloudfront_origin_access_identity.origin_access_identity.iam_arn]
identifiers = [aws_cloudfront_origin_access_identity.example.iam_arn]
}
}
}
Expand Down

0 comments on commit ac06ced

Please sign in to comment.