Updates documentation

pull/35721/head
Graham Davison 2 years ago
parent 02e5be6a2f
commit e4427df3fc

@ -237,9 +237,6 @@ Endpoints set for specific services will override the base endpoint configured i
#### Assume Role Configuration
Assuming an IAM Role can be configured in two ways.
The preferred way is to use the argument `assume_role`, the other, which is deprecated, is with arguments at the top level.
The argument `assume_role` contains the following arguments:
* `role_arn` - (Required) Amazon Resource Name (ARN) of the IAM Role to assume.
@ -256,24 +253,6 @@ The argument `assume_role` contains the following arguments:
* `tags` - (Optional) Map of assume role session tags.
* `transitive_tag_keys` - (Optional) Set of assume role session tag keys to pass to any subsequent sessions.
The following arguments on the top level are deprecated:
* `assume_role_duration_seconds` - (Optional) Number of seconds to restrict the assume role session duration.
Use `assume_role.duration` instead.
* `assume_role_policy` - (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
Use `assume_role.policy` instead.
* `assume_role_policy_arns` - (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
Use `assume_role.policy_arns` instead.
* `assume_role_tags` - (Optional) Map of assume role session tags.
Use `assume_role.tags` instead.
* `assume_role_transitive_tag_keys` - (Optional) Set of assume role session tag keys to pass to any subsequent sessions.
Use `assume_role.transitive_tag_keys` instead.
* `external_id` - (Optional) External identifier to use when assuming the role.
Use `assume_role.external_id` instead.
* `role_arn` - (Optional) Amazon Resource Name (ARN) of the IAM Role to assume.
Use `assume_role.role_arn` instead.
* `session_name` - (Optional) Session name to use when assuming the role.
Use `assume_role.session_name` instead.
```terraform
terraform {

Loading…
Cancel
Save