无法在澳大利亚地区启动Composer env:" INVALID_ARGUMENT:意外地点:澳大利亚 - 东南1"

时间:2018-06-07 08:01:00

标签: google-cloud-platform google-cloud-composer

我试图在澳大利亚地区创建我的作曲家环境。但我不断收到以下错误:

  

" INVALID_ARGUMENT:意外地点:澳大利亚 - 东南1"

使用以下命令:

// Type assertion on call 
type OnViewFood = ((food: Fruit) => void) | ((food: Vegetable) => void);
let viewFruit: OnViewFood = (fruit: Fruit) => `This is ${fruit}`;

(viewFruit as any as ((food: Vegetable) => void))(Vegetable.Cucumber);

// Type assertion on declaration 
type OnViewFood = (food: Food) => void
let viewFruit: OnViewFood = ((fruit: Fruit) => `This is ${fruit}`) as (food: Food) => void;
viewFruit(Vegetable.Cucumber);

在美国展开它可以正常工作。

对于我在某个地方的文档中错过的Composer可能会旋转的区域是否存在限制?

1 个答案:

答案 0 :(得分:2)

是的,location可能只设置为us-central1europe-west1。现在只支持这两个。

请参阅https://cloud.google.com/composer/docs/gcloud-installation#setting_the_default_project_and_location_in_your_local_client