We need to include region as the default parameter value to be included in the task JSON file during the export process. When we export the task we do not see region for US-EAST-1, but this is populated when the region is changed to any region other than us-east-1. I think it is not populating the region for the default value (us-east-1), but we need to include this property by default so that we can the change the region dynamically during the import process in other regions.
Task Endpoint JSON properties in region us-east-1
{
"name": "KineisEndpoint",
"role": "TARGET",
"is_licensed": true,
"type_id": "KINESIS_COMPONENT_TYPE",
"db_settings": {
"$type": "KinesisSettings",
"topic": "Attunity_Kinesis_POC",
"messageKey": "PRIMARY_KEY",
"accessType": "IAM_ROLE"
},
Task Endpoint JSON properties in region us-west-2
{
"name": "KineisEndpoint",
"role": "TARGET",
"is_licensed": true,
"type_id": "KINESIS_COMPONENT_TYPE",
"db_settings": {
"$type": "KinesisSettings",
"topic": "Attunity_Kinesis_POC",
"messageKey": "PRIMARY_KEY",
"region": "US_WEST_2",
"accessType": "IAM_ROLE"
},