[Bug]: QuickSight Dataset error with ColumnGeographicRole not existing #38326
Labels
bug
Addresses a defect in current functionality.
service/quicksight
Issues and PRs that pertain to the quicksight service.
Terraform Core Version
1.8.5
AWS Provider Version
5.57.0
Affected Resource(s)
When running the mu terraform code I get the below error message:
creating QuickSight Data Set: ValidationException: 1 validation error detected: Value '' at 'logicalTableMap.XXX.member.dataTransforms.5.member.tagColumnOperation.tags.1.member.columnGeographicRole' failed to satisfy constraint: Member must satisfy enum value set: [COUNTY, CITY, LATITUDE, POSTCODE, LONGITUDE, STATE, CENSUS_BLOCK, CENSUS_BLOCK_GROUP, POLITICAL1, COUNTRY, CENSUS_TRACT]
the actual code element looks like the following
Expected Behavior
create dataset successful.
I am new to go but I assume that the reason is the missing evaluation for an empty string in that section.
terraform-provider-aws/internal/service/quicksight/data_set.go
Line 1617 in b82f0e1
Actual Behavior
failed to create dataset
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
run dataset create with tags but without a value for column_geographic_role even forcing the value to null results in the same error.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: