From e5918a221040811ba72e3228e687f21c87159555 Mon Sep 17 00:00:00 2001 From: Joel Hermanns Date: Fri, 7 Oct 2016 13:11:14 +0200 Subject: [PATCH] Update documentation to mirror new interface of aws_iot_policy_attachment --- .../providers/aws/r/iot_policy_attachment.html.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/source/docs/providers/aws/r/iot_policy_attachment.html.markdown b/website/source/docs/providers/aws/r/iot_policy_attachment.html.markdown index 4b591465371d..1ca0c3d0ed1b 100644 --- a/website/source/docs/providers/aws/r/iot_policy_attachment.html.markdown +++ b/website/source/docs/providers/aws/r/iot_policy_attachment.html.markdown @@ -13,15 +13,15 @@ description: |- ``` resource "aws_iot_policy_attachment" "cert_policies" { name = "cert_policies" - principal = "${aws_iot_certificate.cert.arn}" - policies = ["${aws_iot_policy.pubsub.name}"] + principals = ["${aws_iot_certificate.cert.arn}"] + policy = "${aws_iot_policy.pubsub.name}" } ``` ## Argument Reference * `name` - A name for the policy attachment -* `principal` - The principal of the attachment -* `policies` - List of policies to attach to the principal +* `principals` - List of principals of the attachment +* `policy` - Policy to attach to the principals ## Attributes Reference