在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):terraform-google-modules/terraform-google-gcloud开源软件地址(OpenSource Url):https://github.com/terraform-google-modules/terraform-google-gcloud开源编程语言(OpenSource Language):HCL 69.3%开源软件介绍(OpenSource Introduction):terraform-google-gcloudThis module allows you to use gcloud, gsutil, any gcloud component, and jq in Terraform. Sometimes, there isn't Terraform GCP support for a particular feature, or you'd like to do something each time Terraform runs (ie: upload a file to a Kubernetes pod) that lacks Terraform support. This module does not create any resources on GCP itself, rather exposes the GCP SDK to you for usage in null resources & external data resources. UsageBasic usage of this module is as follows: module "gcloud" {
source = "terraform-google-modules/gcloud/google"
version = "~> 2.0"
platform = "linux"
additional_components = ["kubectl", "beta"]
create_cmd_entrypoint = "gcloud"
create_cmd_body = "version"
destroy_cmd_entrypoint = "gcloud"
destroy_cmd_body = "version"
} Functional examples are included in the examples directory. The jq binary is also included in this module so you can use it as well for either of your DownloadingBy default, this module assumes you already have gcloud installed in your $PATH. If you need to run Terraform in environments without a gcloud binary available, you can override this behavior by setting the You can also override the behavior by setting the Inputs
Outputs
RequirementsThese sections describe requirements for using this module. SoftwareThe following dependencies must be available:
Service AccountA service account must be created, along with a key, to use this module. The service account must have the proper IAM roles for whatever commands you're running with this module. APIsA project is not required to host resources of this module, since this module does not create any resources. However you will likely need a project for your service account and any resources you'd like to interact with while using this module. ContributingRefer to the contribution guidelines for information on contributing to this module. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论