Skip to content

Commit

Permalink
Merge pull request #39490 from MarkCBell/limit-backup-example
Browse files Browse the repository at this point in the history
Restrict backup example policy
  • Loading branch information
jar-b authored Sep 26, 2024
2 parents 9e65615 + 3eebe9d commit 92ffb48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/r/backup_vault_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Provides an AWS Backup vault policy resource.
## Example Usage

```terraform
data "aws_caller_identity" "current" {}
resource "aws_backup_vault" "example" {
name = "example"
}
Expand All @@ -23,7 +25,7 @@ data "aws_iam_policy_document" "example" {
principals {
type = "AWS"
identifiers = ["*"]
identifiers = [data.aws_caller_identity.current.account_id]
}
actions = [
Expand Down

0 comments on commit 92ffb48

Please sign in to comment.