[Bug]: Failure to update aws_quicksight_data_source.name #32981
Labels
bug
Addresses a defect in current functionality.
service/quicksight
Issues and PRs that pertain to the quicksight service.
Milestone
Terraform Core Version
1.5.5
AWS Provider Version
5.12.0
Affected Resource(s)
aws_quicksight_data_source
Expected Behavior
If apply is executed with a difference in aws_quicksight_data_source.name, the UpdateDataSource API should be executed and succeed.
Actual Behavior
Error occurs due to incorrect DataSourceParameters.
Relevant Error/Panic Output Snippet
Error: updating QuickSight Data Source (xxxxxxxxx/example-id): InvalidParameterValueException: DataSourceParameters field is incorrectly set
Terraform Configuration Files
Steps to Reproduce
Run
terraform apply
.Then replace name with any string and run
terraform apply
again.e.g.
Debug Output
No response
Panic Output
No response
Important Factoids
cf. https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/quicksight/data_source.go#L742-L756
I don't think HasChange should be called.
I feel like I need to add a parameter to the Input even if there is no value update.
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: