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

fix: fix typo in mapping for cascading_control_configuration #39453

Conversation

stefanfreitag
Copy link
Contributor

@stefanfreitag stefanfreitag commented Sep 23, 2024

Description

The internally used key cacading_control_configuration contains a typo, so that the mapping fails.

Relations

Closes #39139

References

Output from Acceptance Testing

TDB - I would need to check how to provide a test for the fix.

The internally used key `cacading_control_configuration` contains a typo, so that the mapping finally fails.
Copy link

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 service/quicksight Issues and PRs that pertain to the quicksight service. needs-triage Waiting for first response or review from a maintainer. labels Sep 23, 2024
@stefanfreitag stefanfreitag marked this pull request as ready for review September 27, 2024 19:38
@stefanfreitag stefanfreitag requested a review from a team as a code owner September 27, 2024 19:38
@stefanfreitag
Copy link
Contributor Author

I would need some guidance on the testing part:

  • The dashboard definition is part of the initial issue, but I think it needs to be stripped down to the minimum for the test. For this the access to Quicksight somehow makes sense.
  • At the moment I do not have access to Quicksight itself and there seems to be cost involved when it comes to creation of the dashboards/ being an Admin in that service.

How would I need to proceed here?

@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Sep 27, 2024
@ewbankkit
Copy link
Contributor

It looks like there's another one in internal/service/quicksight/schema/template_control.go.

@stefanfreitag
Copy link
Contributor Author

Agree, I missed that one - thanks for taking time and doing this consistency check!

@ewbankkit ewbankkit self-assigned this Sep 30, 2024
@github-actions github-actions bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Sep 30, 2024
Copy link
Contributor

@ewbankkit ewbankkit 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=TestAccQuickSightDashboard_' PKG=quicksight ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.7 test ./internal/service/quicksight/... -v -count 1 -parallel 3  -run=TestAccQuickSightDashboard_ -timeout 360m
=== RUN   TestAccQuickSightDashboard_basic
=== PAUSE TestAccQuickSightDashboard_basic
=== RUN   TestAccQuickSightDashboard_disappears
=== PAUSE TestAccQuickSightDashboard_disappears
=== RUN   TestAccQuickSightDashboard_sourceEntity
=== PAUSE TestAccQuickSightDashboard_sourceEntity
=== RUN   TestAccQuickSightDashboard_updateVersionNumber
=== PAUSE TestAccQuickSightDashboard_updateVersionNumber
=== RUN   TestAccQuickSightDashboard_dashboardSpecificConfig
=== PAUSE TestAccQuickSightDashboard_dashboardSpecificConfig
=== CONT  TestAccQuickSightDashboard_basic
=== CONT  TestAccQuickSightDashboard_updateVersionNumber
=== CONT  TestAccQuickSightDashboard_sourceEntity
--- PASS: TestAccQuickSightDashboard_basic (39.94s)
=== CONT  TestAccQuickSightDashboard_dashboardSpecificConfig
--- PASS: TestAccQuickSightDashboard_sourceEntity (41.68s)
=== CONT  TestAccQuickSightDashboard_disappears
--- PASS: TestAccQuickSightDashboard_updateVersionNumber (74.14s)
--- PASS: TestAccQuickSightDashboard_disappears (34.95s)
--- PASS: TestAccQuickSightDashboard_dashboardSpecificConfig (38.10s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/quicksight	83.703s
testing: warning: no tests to run
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/quicksight/schema	0.593s [no tests to run]

@ewbankkit
Copy link
Contributor

@stefanfreitag Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 9de72ea into hashicorp:main Sep 30, 2024
37 checks passed
@github-actions github-actions bot added this to the v5.70.0 milestone Sep 30, 2024
@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Oct 4, 2024
Copy link

github-actions bot commented Oct 4, 2024

This functionality has been released in v5.70.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!

@stefanfreitag stefanfreitag deleted the b-quicksight_dashboard-fix-mapping-issue branch October 8, 2024 18:49
Copy link

github-actions bot commented Nov 8, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/quicksight Issues and PRs that pertain to the quicksight service.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Creating dashboard from a template using cascading controls
3 participants