Commit fe97ba9
committed
r/aws_ec2_transit_gateway: fix crash setting
Fixes a regression introduced in `v6.25.0` of the Terraform AWS provider.
```console
% make testacc TESTARGS='-run=TestAccTransitGateway_serial/Gateway_\(basic\|encryptionSupport\)' PKG=ec2
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
make: Running acceptance tests on branch: 🌿 b-transitgateway-crash 🌿...
TF_ACC=1 go1.24.11 test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccTransitGateway_serial/Gateway_\(basic\|encryptionSupport\) -timeout 360m -vet=off
2025/12/05 14:44:31 Creating Terraform AWS Provider (SDKv2-style)...
2025/12/05 14:44:31 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccTransitGateway_serial (0.00s)
--- PASS: TestAccTransitGateway_serial/Gateway_basic (191.96s)
--- PASS: TestAccTransitGateway_serial/Gateway_encryptionSupportWhenCreated (191.97s)
--- PASS: TestAccTransitGateway_serial/Gateway_encryptionSupportWhenUpdated (200.48s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 207.173s
```encryption_support
1 parent 724f799 commit fe97ba9
2 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
244 | 248 | | |
245 | | - | |
| 249 | + | |
246 | 250 | | |
247 | 251 | | |
248 | 252 | | |
| |||
0 commit comments