From cf39de9f593d1f15351524272264cb739ba0c1af Mon Sep 17 00:00:00 2001 From: Dave-Barcelo Date: Fri, 10 May 2024 11:28:05 -0400 Subject: [PATCH] Updating docs to call out the mutual exclusiveness of type and assume_role_policy --- docs/resources/alks_iamrole.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/resources/alks_iamrole.md b/docs/resources/alks_iamrole.md index bfbcdda6..4525928a 100644 --- a/docs/resources/alks_iamrole.md +++ b/docs/resources/alks_iamrole.md @@ -92,7 +92,8 @@ The following arguments are supported: * `name` - (Optional/Computed) The name of the ALKS IAM role which will be reflected in AWS and the ALKS UI. * `name_prefix` - (Optional/Computed) A prefix for a generated name of the ALKS IAM role which will be reflected in AWS and the ALKS UI. -* `type` - (Required) The role type to use. To see a list of available roles, [call this endpoint](https://pages.ghe.coxautoinc.com/ETS-CloudAutomation/ALKS-Documentation/#/aws-role-type-rest-service/getAllAwsRoleTypesUsingGET). +* `type` - (Required) The role type to use. This argument is mutually exclusive with `assume_role_policy`. To see a list of available roles, [call this endpoint](https://pages.ghe.coxautoinc.com/ETS-CloudAutomation/ALKS-Documentation/#/aws-role-type-rest-service/getAllAwsRoleTypesUsingGET). +* `assume_role_policy` - (Required) A JSON string representing the trust policy for the role. This is only supported for single-service trust policies trusting an approved AWS service. This argument is mutually exclusive with `type`. * `include_default_policies` - (Required) Whether or not the default manages policies should be attached to the role. * `role_added_to_ip` - (Computed) Indicates whether or not an instance profile role was created. * `arn` - (Computed) Provides the ARN of the role that was created.