Skip to content

Commit

Permalink
Merge pull request #198 from Cox-Automotive/DE431382-Role-Type-is-man…
Browse files Browse the repository at this point in the history
…datory

Updating docs to make type and assume_role_policy use more clear.
  • Loading branch information
DevOpsDave authored May 16, 2024
2 parents aa15a24 + 4615102 commit 7477f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/resources/alks_iamrole.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` - (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.
* `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.
* `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.
Expand Down

0 comments on commit 7477f69

Please sign in to comment.