Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/aws_gamelift_game_server_group: Correct tagging #41256

Merged
merged 6 commits into from
Feb 6, 2025

Conversation

ewbankkit
Copy link
Contributor

Description

Missing CustomizeDiff leading to incorrect tags_all handling.
Discovered while working on #41253.

Output from Acceptance Testing

% make testacc TESTARGS='-run=TestAccGameLiftGameServerGroup_tags' PKG=gamelift
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/gamelift/... -v -count 1 -parallel 20  -run=TestAccGameLiftGameServerGroup_tags -timeout 360m -vet=off
2025/02/05 17:33:27 Initializing Terraform AWS Provider...
=== RUN   TestAccGameLiftGameServerGroup_tags
=== PAUSE TestAccGameLiftGameServerGroup_tags
=== CONT  TestAccGameLiftGameServerGroup_tags
--- PASS: TestAccGameLiftGameServerGroup_tags (366.45s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/gamelift	371.910s

% make testacc TESTARGS='-run=TestAccGameLiftGameServerGroup_tags' PKG=gamelift
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/gamelift/... -v -count 1 -parallel 20  -run=TestAccGameLiftGameServerGroup_tags -timeout 360m -vet=off
2025/02/05 16:39:13 Initializing Terraform AWS Provider...
=== RUN   TestAccGameLiftGameServerGroup_tags
=== PAUSE TestAccGameLiftGameServerGroup_tags
=== CONT  TestAccGameLiftGameServerGroup_tags
    game_server_group_test.go:591: Step 3/4 error: Check failed: Check 2/4 error: aws_gamelift_game_server_group.test: Attribute 'tags.%' expected "2", got "1"
--- FAIL: TestAccGameLiftGameServerGroup_tags (233.08s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/gamelift	238.630s
FAIL
make: *** [testacc] Error 1
% make testacc TESTARGS='-run=TestAccGameLiftGameServerGroup_tags' PKG=gamelift
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/gamelift/... -v -count 1 -parallel 20  -run=TestAccGameLiftGameServerGroup_tags -timeout 360m -vet=off
2025/02/05 17:33:27 Initializing Terraform AWS Provider...
=== RUN   TestAccGameLiftGameServerGroup_tags
=== PAUSE TestAccGameLiftGameServerGroup_tags
=== CONT  TestAccGameLiftGameServerGroup_tags
--- PASS: TestAccGameLiftGameServerGroup_tags (366.45s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/gamelift	371.910s
@ewbankkit ewbankkit requested a review from a team as a code owner February 5, 2025 22:46
Copy link

github-actions bot commented Feb 5, 2025

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/gamelift Issues and PRs that pertain to the gamelift service. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. labels Feb 5, 2025
@ewbankkit ewbankkit added bug Addresses a defect in current functionality. tags Pertains to resource tagging. labels Feb 5, 2025
Copy link
Contributor

@johnsonaj johnsonaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

% make testacc TESTARGS='-run=TestAccGameLiftGameServerGroup_tags' PKG=gamelift

make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.5 test ./internal/service/gamelift/... -v -count 1 -parallel 20  -run=TestAccGameLiftGameServerGroup_tags -timeout 360m -vet=off
2025/02/05 18:05:56 Initializing Terraform AWS Provider...
=== RUN   TestAccGameLiftGameServerGroup_tags
=== PAUSE TestAccGameLiftGameServerGroup_tags
=== CONT  TestAccGameLiftGameServerGroup_tags
--- PASS: TestAccGameLiftGameServerGroup_tags (220.33s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/gamelift	227.055s

@ewbankkit ewbankkit merged commit eddf87a into main Feb 6, 2025
51 checks passed
@ewbankkit ewbankkit deleted the b-aws_gamelift_game_server_group.tags branch February 6, 2025 13:03
@github-actions github-actions bot added this to the v5.86.0 milestone Feb 6, 2025
terraform-aws-provider bot pushed a commit that referenced this pull request Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

This functionality has been released in v5.86.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. service/gamelift Issues and PRs that pertain to the gamelift service. tags Pertains to resource tagging. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants