Set AWS_REGION whenever USE_WALG_BACKUP is set to true (#546)
Set AWS_REGION whenever USE_WALG_BACKUP is set to true (#546)

Since wal-g supports having both AWS_ENDPOINT (or WALE_S3_ENDPOINT) and AWS_REGION and that we cannot determine region from endpoint in the event of an onpremise deployment, this PR allows setting AWS_REGION even if AWS_ENDPOINT (or WALE_S3_ENDPOINT) is specified.

This way using an onpremise deploy with a custom region (http://someminioinstance:9000/ and my-place, ie) or using an endpoint that does not match the regex engine (https://somebucket.s3.nl-ams.scw.cloud, ie)

Close: https://github.com/zalando/spilo/issues/539
zalando/spilo,zalando/spilo,zalando/spilo