Source: cloud.google.com/infrastructu...
Steps:
- Enable the service
- Where is this service enabled
○ cloud.google.com/infrastructu...
- Permissions of service account - roles/config.admin.
- Sample repo from github.com/terraform-google-m...
- Deploy from local machine
gcloud infra-manager deployments apply projects/YOUR-PROJECT/locations/us-central1/deployments/cloud-run-test \
--service-account projects/youtube-demo-255723/serviceAccounts/YOUR-SVC-ACCOUNT \
--local-source="." \
--input-values=project_id=YOUR-PROJECT
- View the status of deployment
○ gcloud infra-manager deployments describe projects/YOUR-PROJECT/locations/us-central1/deployments/cloud-run-test
- List resources deployed by a privision
○ gcloud infra-manager resources list --revision=projects/YOUR-PROJECT/locations/us-central1/deployments/cloud-run-test/revisions/r-8
- Delete the deployment
gcloud infra-manager deployments delete projects/yYOUR-PROJECT/locations/us-central1/deployments/cloud-run-test
----------
PLEASE SUBSCRIBE ➡️bit.ly/36x6qQy ❤️
If you like my work considering buying me ☕bit.ly/3lumyqx
----------
PLAYLISTS:
- Associate Cloud Engineer Study Guide: bit.ly/37y1dYl
- Google Cloud Playlist: bit.ly/37uMZal
----------
- Questions? Thoughts? Disagreements? Tell us here in the comments.
----------
LETS CONNECT:
👍 Facebook: / multicloudguy
📸 Instagram - / multicloudguy
🐦 Twitter - / multicloudguy
11 июл 2024