Expected behavior would be type of record is changed. In practice, it errors out, because upserts are not allowed to change the record type. We would need to implement a delete and re-build to the record to support this.
botocore.errorfactory.InvalidChangeBatch: An error occurred (InvalidChangeBatch) when calling the ChangeResourceRecordSets operation:
[RRSet of type CNAME with DNS name generic.subdomain.com. is not permitted as it conflicts with other records with the same DNS name in zone subdomain.com.]
Expected behavior would be type of record is changed. In practice, it errors out, because upserts are not allowed to change the record type. We would need to implement a delete and re-build to the record to support this.