Skip to content

Commit 3092809

Browse files
committed
Updates deprecation documentation
1 parent cf3d516 commit 3092809

File tree

1 file changed

+22
-18
lines changed
  • website/docs/language/upgrade-guides

1 file changed

+22
-18
lines changed

website/docs/language/upgrade-guides/index.mdx

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,16 @@ The `run` block also applies or plans the main configuration by default, there i
136136

137137
## S3 Backend
138138

139-
The S3 Backend has been updated, with a number of added and deprecated fields.
140-
These changes bring the S3 Backend configuration closer to the AWS Provider configuration.
141-
142-
### Deprecations
139+
We updated the S3 backend in Terraform 1.6.0 so that it more closely matches the AWS provider configuration.
140+
As a result, the backend has new and deprecated fields.
141+
Refer to the [release notes](https://github.com/hashicorp/terraform/releases/tag/v1.6.0) for additional information.
143142

144143
The major deprecations are discussed here.
145-
For more information, consult the [S3 Backend documentation](/terraform/language/settings/backends/s3).
144+
Refer to the [S3 backend documentation](/terraform/language/settings/backends/s3) for information about all deprecations.
145+
146+
We removed the configuration for assuming an IAM role from several top-level attributes and consolidated them into the `assume_role` attribute.
146147

147-
Configuration for assuming an IAM Role has been moved from a number of top-level attributes into the attribute `assume_role`.
148-
Previously, the configuration to assume the IAM role `arn:aws:iam::123456789012:role/example` with a session name `example-session` and a session duration of 15 minutes was:
148+
The following example shows the configuration in Terraform 1.5.6 and older for assuming the IAM role `arn:aws:iam::123456789012:role/example` with a session name `example-session` and a session duration of 15 minutes:
149149

150150
```hcl
151151
terraform {
@@ -158,7 +158,7 @@ terraform {
158158
}
159159
```
160160

161-
The updated configuration is:
161+
The configuration in Terraform 1.6.0 is:
162162

163163
```hcl
164164
terraform {
@@ -173,13 +173,17 @@ terraform {
173173
}
174174
```
175175

176-
The AWS API endpoint override attributes
177-
`endpoint` (for S3),
178-
`dynamodb_endpoint`,
179-
`iam_endpoint`, and
180-
`sts_endpoint`
181-
have been replaced with the attributes `endpoints` and the corresponding nested attributes
182-
`s3`,
183-
`dynamodb`,
184-
`iam`, and
185-
`sts`.
176+
We removed the configuration for overriding AWS API endpoints from several top-level attributes and consolidated them into the `endpoints` attribute.
177+
The following endpoint attributes are now nested under the `endpoint` attribute:
178+
179+
- `s3`
180+
- `dynamodb`
181+
- `iam`
182+
- `sts`
183+
184+
The `endpoint` attribute replaces the following top-level attributes:
185+
186+
- `endpoint` (for S3),
187+
- `dynamodb_endpoint`,
188+
- `iam_endpoint`
189+
- `sts_endpoint`

0 commit comments

Comments
 (0)