创建新的 cloud composer env 时,是否可以将存储桶设置为预先存在的存储桶?

When creating a new cloud composer env, is it possible to set the bucket to preexisting one?

所以我已经为此创建了一个空的存储桶,我不希望作曲家为 dags 创建自己的存储桶 - 我想使用已经创建的存储桶。

让它只是创建一个随机桶然后去

并不理想
gcloud composer environments run test-environment  --location europe-west1 variables -- --set gcs_bucket gs://my-bucket

我已经仔细研究了文档,但您似乎无法绕过它每次都创建一个全新的存储桶?

没错,Composer 目前不支持此功能。

目前无法实现。

在环境的configuration in Cloud Composer API, the dagGcsPrefix parameter is output only, you cannot set it. Documentation中也提到了一个Cloud Storage bucket总是和Composer环境一起创建的,bucket的名字是基于环境的区域,名称和一个随机的Id。

您可能想要“加注星标” Feature Request for the mentioned functionality, to receive notifications whenever an update on this regard is published. You can also review or subscribe to the Cloud Composer release notes 以更新最近添加的功能。