From deda15ace09f2de208d3f221c7103c58e3a7986c Mon Sep 17 00:00:00 2001 From: PaulAtkins Date: Fri, 12 May 2017 22:32:11 +1200 Subject: [PATCH] Correct argument description for targets (#14428) Correct `targets` argument description to show the allowed keys are `InstanceIds` or `WindowTargetIds` --- .../aws/r/ssm_maintenance_window_task.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/source/docs/providers/aws/r/ssm_maintenance_window_task.html.markdown b/website/source/docs/providers/aws/r/ssm_maintenance_window_task.html.markdown index 2ed3b50a4..bf3eb1183 100644 --- a/website/source/docs/providers/aws/r/ssm_maintenance_window_task.html.markdown +++ b/website/source/docs/providers/aws/r/ssm_maintenance_window_task.html.markdown @@ -20,7 +20,7 @@ resource "aws_ssm_maintenance_window" "window" { cutoff = 1 } -resource "aws_ssm_maintenance_window_task" "target" { +resource "aws_ssm_maintenance_window_task" "task" { window_id = "${aws_ssm_maintenance_window.window.id}" task_type = "RUN_COMMAND" task_arn = "AWS-RunShellScript" @@ -51,7 +51,7 @@ The following arguments are supported: * `task_type` - (Required) The type of task being registered. The only allowed value is `RUN_COMMAND`. * `task_arn` - (Required) The ARN of the task to execute. * `service_role_arn` - (Required) The role that should be assumed when executing the task. -* `targets` - (Required) The targets (either instances or tags). Instances are specified using Key=instanceids,Values=instanceid1,instanceid2. Tags are specified using Key=tag name,Values=tag value. +* `targets` - (Required) The targets (either instances or window target ids). Instances are specified using Key=InstanceIds,Values=instanceid1,instanceid2. Window target ids are specified using Key=WindowTargetIds,Values=window target id1, window target id2. * `priority` - (Optional) The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel. * `logging_info` - (Optional) A structure containing information about an Amazon S3 bucket to write instance-level logs to. Documented below. @@ -65,4 +65,4 @@ The following arguments are supported: The following attributes are exported: -* `id` - The ID of the maintenance window task. \ No newline at end of file +* `id` - The ID of the maintenance window task.