Skip to content

Commit

Permalink
Merge pull request apache#392 from liu-sheng/add-hosts-mapping
Browse files Browse the repository at this point in the history
Add domain name mapping for terraform fusioncloud job
  • Loading branch information
huangtianhua authored Dec 18, 2018
2 parents 9c8e11d + ae824b3 commit 6369e16
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@
vars:
cloud_name: 'fusioncloud'
tasks:
- name: workaround for fusioncloud domain name mapping
shell:
cmd: |
cat << EOF >> /etc/hosts
58.255.93.185 iam-apigateway-proxy.fusioncloud.huawei.com
58.255.93.185 iam-cache-proxy.fusioncloud.huawei.com
58.255.93.185 ecs-api.fusioncloud.huawei.com
58.255.93.185 evs-api.fusioncloud.huawei.com
58.255.93.185 vpc-api.fusioncloud.huawei.com
58.255.93.185 bms-api.fusioncloud.huawei.com
58.255.93.185 ccs-api.fusioncloud.huawei.com
58.255.93.185 as-api.fusioncloud.huawei.com
58.255.93.185 ims-api.fusioncloud.huawei.com
58.255.93.185 rts-api.fusioncloud.huawei.com
EOF
executable: /bin/bash

- name: Run acceptance tests with terraform-provider-huaweicloud against fusioncloud
shell:
cmd: |
Expand Down

0 comments on commit 6369e16

Please sign in to comment.