Slzzp Tech Note

2022年11月30日 星期三

GCP - copy IAM custom role R from project A to project B

Role ID: projects/A/roles/R

0. gcloud auth login (with enough permission)

1. gcloud iam roles describe R --project=A > R.txt

2. gcloud iam roles create R --project=B --file=R.txt

於 11月 30, 2022 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: custom role, gcp, iam
較新的文章 較舊的文章 首頁
訂閱: 文章 (Atom)

搜尋此網誌

  • 首頁

網誌存檔

  • 4月 2025 (1)
  • 3月 2025 (1)
  • 1月 2025 (2)
  • 6月 2024 (2)
  • 11月 2022 (1)
  • 5月 2022 (1)
  • 4月 2022 (2)
  • 12月 2021 (1)
  • 11月 2021 (1)
  • 10月 2021 (3)
  • 9月 2021 (1)
  • 6月 2021 (1)
  • 5月 2021 (1)

標籤

  • access logs
  • Akamai
  • Akamai CDN
  • api
  • auth
  • aws
  • Azure
  • CDN
  • cloud cdn
  • cloud sql
  • custom role
  • Datadog
  • EKS
  • gcp
  • Go
  • google_redis_instance
  • iam
  • iam policy
  • iam role
  • Java
  • jot
  • Kotlin
  • kubernetes
  • monitoring
  • Node.js
  • owner
  • pingdom
  • postgresql
  • provider
  • race condition
  • random password
  • rds
  • rds proxy
  • Redis
  • replication
  • resource
  • resources limits
  • resources requests
  • S3
  • Scala
  • storage admin
  • terraform
  • tuning
  • TypeScript
  • upgrade
  • version

關於我自己

slzzp
檢視我的完整簡介
輕柔雅緻主題. 技術提供:Blogger.