Hi, I’m currently have automation deployment using cloud build (gen 1), the source code we store to bitbucket cloud and using cloud source repository for mirroring, I’m seeing the cloud source repository scheduled to end of sale this month, and also by another reason I try to migration to use cloud build (gen 2) with different connection method to bitbucket cloud here is the documentation https://cloud.google.com/build/docs/automating-builds/bitbucket/connect-host-bitbucket-cloud
My current conditions :
- Enabled API cloud build, secret manager, dockerfile already on the repository

- My account has permission/IAM policy as an admin role to cloud build, cloud build repository, cloud build connection, secret manager

- two Access tokens for Admin and Read already created on repository. I’m still use bitbucket standard package, which is only has a feature to create access token on repository level

I tried to create new connection host and I got this alert pop message “Failed to write secrets to Secret Manager”,
but when I check to Secret Manager page, there are three key created by cloud build.
did I miss something?


