The newly created GeoLite2 license keys from MaxMind no longer have the format enforced within the template's GeoLite2LicenseKey parameter. Currently, when passing in a newly created license key, CloudFormation will throw the "Parameter 'GeoLite2LicenseKey' must match pattern ^([0-9a-zA-Z]{16}|)$" exception.
What used to be 16-character long license keys, are now 40-character long keys with a more specific format:
The newly created GeoLite2 license keys from MaxMind no longer have the format enforced within the template's GeoLite2LicenseKey parameter. Currently, when passing in a newly created license key, CloudFormation will throw the "Parameter 'GeoLite2LicenseKey' must match pattern ^([0-9a-zA-Z]{16}|)$" exception.
What used to be 16-character long license keys, are now 40-character long keys with a more specific format:
Before:
^[0-9a-zA-Z]{16}$
E.g.: xxxxxxxxxxxxxxxx Now:^[0-9a-zA-Z]{6}_[0-9a-zA-Z]{29}_mmk$
E.g.: _xxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxmmk