Skip to content

Commit 7477f69

Browse files
authored
Merge pull request #198 from Cox-Automotive/DE431382-Role-Type-is-mandatory
Updating docs to make type and assume_role_policy use more clear.
2 parents aa15a24 + 4615102 commit 7477f69

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/resources/alks_iamrole.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ The following arguments are supported:
9292

9393
* `name` - (Optional/Computed) The name of the ALKS IAM role which will be reflected in AWS and the ALKS UI.
9494
* `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.
95-
* `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).
95+
* `type` - (Optional) The role type to use. To see a list of available roles, [call this endpoint](https://pages.ghe.coxautoinc.com/ETS-CloudAutomation/ALKS-Documentation/#operation/getAllAwsRoleTypes). Exactly one of `type` or `assume_role_policy` must be specified.
96+
* `assume_role_policy` - (Optional) A JSON string representing the trust policy for the role. This is only supported for single-service trust policies trusting an approved AWS service. Exactly one of `type` or `assume_role_policy` must be specified.
9697
* `include_default_policies` - (Required) Whether or not the default manages policies should be attached to the role.
9798
* `role_added_to_ip` - (Computed) Indicates whether or not an instance profile role was created.
9899
* `arn` - (Computed) Provides the ARN of the role that was created.

0 commit comments

Comments
 (0)