DEPLOYMENTS_AWS_EXTERNAL_URI with CloudFront

Hi,

I’d like the devices to access the artefacts via AWS CloudFront domain. I’ve configured mender-deployments service with the following environment variables:

In the client devices, I got an error:
dial tcp: lookup coolon-mender-artifacts.d342gnwfeb7kek.cloudfront.net on 8.8.8.8:53: no such host"

How to remove the “coolon-mender-artifacts” part from the CloudFront URL?

Works in 3.7.11

I believe you need to set the DEPLOYMENTS_AWS_FORCE_PATH_STYLE: true so the bucket name ends up in the path and not the hostname.