mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
providers/google: google_project supports billing account (#11653)
* Vendor google.golang.org/api/cloudbilling/v1 * providers/google: Add cloudbilling client * providers/google: google_project supports billing account This change allows a Terraform user to set and update the billing account associated with their project. * providers/google: Testing project billing account This change adds optional acceptance tests for project billing accounts. GOOGLE_PROJECT_BILLING_ACCOUNT and GOOGLE_PROJECT_BILLING_ACCOUNT_2 must be set in the environment for the tests to run; otherwise, they will be skipped. Also includes a few code cleanups per review. * providers/google: Improve project billing error message
This commit is contained in:
parent
06fa75423e
commit
c7632cdf2e
@ -49,6 +49,12 @@ The following arguments are supported:
|
|||||||
This is required if you are creating a new project.
|
This is required if you are creating a new project.
|
||||||
Changing this forces a new project to be created.
|
Changing this forces a new project to be created.
|
||||||
|
|
||||||
|
* `billing_acount` - (Optional) The alphanumeric ID of the billing account this project
|
||||||
|
belongs to. The user or service account performing this operation with Terraform
|
||||||
|
must have Billing Account Administrator privileges (`roles/billing.admin`) in
|
||||||
|
the organization. See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/v1/how-tos/access-control)
|
||||||
|
for more details.
|
||||||
|
|
||||||
* `name` - (Optional) The display name of the project.
|
* `name` - (Optional) The display name of the project.
|
||||||
This is required if you are creating a new project.
|
This is required if you are creating a new project.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user