Hi there. I am shunsock.
I found syntax error in cloud composer document and want to notify Google Cloud Developer.
But, I do not know where to submit commit message (no repo?), then I decide to create post in community. If you know any location I should submit, Please tell me.
- [Quick Start](https://cloud.google.com/composer/docs/run-apache-airflow-dag#create_an_environment)
This script does not work since we need brackets and dollar before the first bracket.
# Get current project's project number
PROJECT_NUMBER=gcloud projects list \
--filter="$(gcloud config get-value project)" \
--format="value(PROJECT_NUMBER)" \
--limit=1
# Add the Cloud Composer v2 API Service Agent Extension role
gcloud iam service-accounts add-iam-policy-binding \
$PROJECT_NUMBER-compute@developer.gserviceaccount.com \
--member serviceAccount:service-$PROJECT_NUMBER@cloudcomposer-accounts.iam.gserviceaccount.com \
--role roles/composer.ServiceAgentV2Ext
...
So, code following works.
PROJECT_NUMBER=$(gcloud projects list \
--filter="$(gcloud config get-value project)" \
--format="value(PROJECT_NUMBER)" \
--limit=1)
...
Solved! Go to Solution.
Hi @Shunsock ,
Thanks for reporting this issue. I've submitted a request internally to fix it.
Hi @Shunsock ,
Thanks for reporting this issue. I've submitted a request internally to fix it.
Hello @kumards ,
Thank you for replying and share my post. I hope my commitment help someone. 👍
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |