Skip to content

Commit

Permalink
Update gamelift patches to sdkv2 (#4511)
Browse files Browse the repository at this point in the history
Upstream [recently made a
change](hashicorp/terraform-provider-aws#39324)
so that a service cannot have resources across both sdkv1 and sdkv2.

This PR updates the `aws_gamelift_matchmaking_configuration` &
`aws_gamelift_matchmaking_rule_set` resources to sdkv2.

```console
$ make testacc TESTS=TestAccMatchmakingConfiguration PKG=gamelift
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/gamelift/... -v -count 1 -parallel 20 -run='TestAccMatchmakingConfiguration'  -timeout 360m
=== RUN   TestAccMatchmakingConfiguration_basic
=== PAUSE TestAccMatchmakingConfiguration_basic
=== RUN   TestAccMatchmakingConfiguration_tags
=== PAUSE TestAccMatchmakingConfiguration_tags
=== RUN   TestAccMatchmakingConfiguration_disappears
=== PAUSE TestAccMatchmakingConfiguration_disappears
=== CONT  TestAccMatchmakingConfiguration_basic
=== CONT  TestAccMatchmakingConfiguration_disappears
=== CONT  TestAccMatchmakingConfiguration_tags
--- PASS: TestAccMatchmakingConfiguration_disappears (12.48s)
--- PASS: TestAccMatchmakingConfiguration_tags (19.75s)
--- PASS: TestAccMatchmakingConfiguration_basic (27.17s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/gamelift   31.040s
```

```console
$ make testacc TESTS=TestAccMatchmakingRuleSet PKG=gamelift
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/gamelift/... -v -count 1 -parallel 20 -run='TestAccMatchmakingRuleSet'  -timeout 360m
=== RUN   TestAccMatchmakingRuleSet_basic
--- PASS: TestAccMatchmakingRuleSet_basic (12.93s)
=== RUN   TestAccMatchmakingRuleSet_disappears
=== PAUSE TestAccMatchmakingRuleSet_disappears
=== CONT  TestAccMatchmakingRuleSet_disappears
--- PASS: TestAccMatchmakingRuleSet_disappears (10.39s)
PASS
ok      github.com/hashicorp/terraform-provider-aws/internal/service/gamelift   27.193s
```

re #4479
  • Loading branch information
corymhall authored Sep 24, 2024
1 parent 36f9cde commit e45ca74
Showing 1 changed file with 559 additions and 189 deletions.
Loading

0 comments on commit e45ca74

Please sign in to comment.