dce icon indicating copy to clipboard operation
dce copied to clipboard

EU Support!

Open iMartyn opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Many companies in the EU cannot deploy to US servers because of company policy.

Describe the solution you'd like Allow us to use for example eu-west-1 in the config file.

Describe alternatives you've considered There aren't really any alternatives.

Additional context According to docs

# The AWS region. It must match the region configured in the
# api.host. Must be one of:
# "us-east-1", "us-east-2", "us-west-1", "us-west-2"
region: us-east-1

and changing it to eu-west-1 indeed doesn't work with the following error :

> dce system deploy
Initializing
Do you really want to create DCE resources in your AWS account? (type "yes" or "no")yes
Creating DCE infrastructure
Retrieving artifacts location
Artifacts bucket =  792172939943-dce-artifacts-dce-lcoajqi5
Deploying code assets to DCE infrastructure
Downloading DCE code assets
Failed to upload /home/martyn/.dce/.cache/dce/0.29.0/codebuild/reset.zip BucketRegionError: incorrect region, the bucket is not in 'eu-west-1' region at endpoint ''
        status code: 301, request id: , host id:

iMartyn avatar Aug 05 '21 15:08 iMartyn

I was able to deploy in any region by setting up properly TF vars and then change the region property in the YAML file.

mazzy89 avatar Apr 29 '22 21:04 mazzy89