From a95d5378b45f6c6f7cafc6191fe97c33ac8ea46c Mon Sep 17 00:00:00 2001 From: Reuben Dunn Date: Tue, 26 Nov 2019 17:14:46 +1300 Subject: [PATCH] Updated README for role policy --- role-policy/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/role-policy/README.md b/role-policy/README.md index 5b19f57..1116005 100644 --- a/role-policy/README.md +++ b/role-policy/README.md @@ -12,3 +12,19 @@ This module creates a IAM policy and attaches the policy to an existing Role. | role\_name | The name of the role to attach the policy to | string | n/a | yes | | policy\_resources | The resources defined in the policy | list | `` | no | +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|:----:|:-----:|:-----:| +| policy\_actions | A List of policy actions | list | n/a | yes | +| policy\_name | The name of the policy to create | string | n/a | yes | +| policy\_sid | An ID for the policy statement. It must be alphanumeric characters only | string | n/a | yes | +| role\_name | The name of the role to attach the policy to | string | n/a | yes | +| policy\_resources | The resources defined in the policy | list | `` | no | + +## Outputs + +| Name | Description | +|------|-------------| +| policy\_name | The name of the policy created | +