In Aws Certificate Manager, I have created SSL certificate and add it to dns.
*.test.example.com
In Cloudfront, I have created a distribution