You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/language/upgrade-guides/index.mdx
+22-18Lines changed: 22 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,16 +136,16 @@ The `run` block also applies or plans the main configuration by default, there i
136
136
137
137
## S3 Backend
138
138
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.
143
142
144
143
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.
146
147
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:
149
149
150
150
```hcl
151
151
terraform {
@@ -158,7 +158,7 @@ terraform {
158
158
}
159
159
```
160
160
161
-
The updated configuration is:
161
+
The configuration in Terraform 1.6.0 is:
162
162
163
163
```hcl
164
164
terraform {
@@ -173,13 +173,17 @@ terraform {
173
173
}
174
174
```
175
175
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:
0 commit comments