Hey I am facing weird issue for overriding snowflake credentials on asset bundle import. I don’t know but there is no clear instructions I found in AWS official documents as well. This is literally frustrating.
Here is my override JSON
"DataSources": [
{
"DataSourceId": $id,
"Name": $name,
"Credentials": {
"CredentialPair": {
"Username": $username,
"Password": $password
}
}
}
]
I also tried variations too make sure i don’t make any mistakes.
"DataSources": [
{
"DataSourceId": $id,
"Name": $name,
"DataSourceParameters": {
"SnowflakeParameters": {
"Host": "MyHost",
"Database": "MyDB",
"Warehouse": "MyWH"
}
},
"Credentials": {
"CredentialPair": {
"Username": $username,
"Password": $password
}
},
"SslProperties": {
"DisableSsl": false
}
}
]
But I get the following error everytime.
Job failed with status: {
"Status": 200,
"JobStatus": "FAILED",
"Errors": [
{
"Arn": "myArn",
"Type": "com.amazonaws.services.quicksight.model.InvalidParameterValueException",
"Message": "DataSourceCredentials field is incorrectly set"
}
......
Let me know what I am missing here.