Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflect actual argument names for aws_backup_selection in docs #8212

Merged
merged 1 commit into from
Apr 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions website/docs/r/backup_selection.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Manages selection conditions for AWS Backup plan resources.

```hcl
resource "aws_backup_selection" "example" {
plan_id = "${aws_backup_plan.example.id}"
plan_id = "${aws_backup_plan.example.id}"

name = "tf_example_backup_selection"
iam_role = "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole"
name = "tf_example_backup_selection"
iam_role_arn = "arn:aws:iam::123456789012:role/service-role/AWSBackupDefaultServiceRole"

tag {
type = "STRINGEQUALS"
key = "foo"
selection_tag {
type = "STRINGEQUALS"
key = "foo"
value = "bar"
}

Expand All @@ -37,7 +37,7 @@ The following arguments are supported:

* `name` - (Required) The display name of a resource selection document.
* `plan_id` - (Required) The backup plan ID to be associated with the selection of resources.
* `iam_role` - (Required) The ARN of the IAM role that AWS Backup uses to authenticate when restoring the target resource.
* `iam_role_arn` - (Required) The ARN of the IAM role that AWS Backup uses to authenticate when restoring the target resource.
* `selection_tag` - (Optional) Tag-based conditions used to specify a set of resources to assign to a backup plan.
* `resources` - (Optional) An array of strings that either contain Amazon Resource Names (ARNs) or match patterns of resources to assign to a backup plan..

Expand Down