Update usage of www.FQDN to be optional
Not all sites will want to use a www.
prefix, but the CloudFront distribution currently lists it as an alias. We should make it optional. Could work something like this...
- Create a local variable for domain aliases (maybe
local.domain_aliases
) and use it for the distribution - Introduce a variable to the module to
skip_www_alias
- When set, the domain aliases local variable doesn't include the www alias