ACM Certificate validation fails

I am trying to connect Cloudflare with my Lightsail distribution.

For that I need to create certificate using AWS ACM. I am creating it for

So AWS provide CNAME name value ( , ( `*

I have configured record as CNAME record with DNS in cloudflare.

But I get following error

Request failed!

We could not complete this certificate request because one or more domains in the request are invalid.

I have checked dig command

$ dig +short

Not sure what is the problem does period at the end of Name should be present Cloudflare CNAME trims it.

CNAME are not proxied and set as DNS