I am getting below error while creating TXT record in Route53 using AWS CLI. Please let me know where I am doing mistake.
Error:
[Invalid Resource Record: 'FATAL problem: InvalidCharacterString (Value should be enclosed in quotation marks) encountered with '376ae6f4-8cf5-4d91-9246-fd3d6069ebf8'']
Code:
{
"Comment": "Create a recored",
"Changes": [{
"Action": "CREATE",
"ResourceRecordSet":{
"Name": "profpoint-verification",
"Type": "TXT",
"TTL": 300,
"ResourceRecords": [{"Value":"3766f4-8cf5-4d91-9246-fd3d699ebf8"}]
}
}]
}
I referred to Create a simple resource record set in Amazon Route 53 using the AWS CLI to create the above code.