hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.33k stars 1.73k forks source link

Support cloudbilling APIs / Billing Sub Accounts #4033

Closed adarobin closed 3 years ago

adarobin commented 5 years ago

Community Note

Description

I'd love to be able to create and manage our billing subaccounts through Terraform.

At my current employer, we provide an Enterprise Agreement, Preconfigured Security/Networking/Reporting/Logging, VPN, and chargeback for GCP to other departments. We'd like to potentially migrate from the current homegrown python based provisioning solution to Terraform. The only functionality that seems to be missing is the ability to create billing subaccounts with Terraform.

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_billing_sub_account" "my_billing_account" {
  name = "My Billing Account"
  master_billing_account = "012345-567890-ABCDEF"
}

References

https://cloud.google.com/billing/reference/rest/v1/billingAccounts/create

adarobin commented 5 years ago

I'm happy to take a try at this, working on getting a CLA signed. Does this need to be a fully generated resource, or is a manual one ok?

karolsochk commented 4 years ago

@adarobin any plans to progress this ?

adarobin commented 4 years ago

@karolsochk I'm still pushing for the CLA

ghost commented 3 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error πŸ€– πŸ™‰ , please reach out to my human friends πŸ‘‰ hashibot-feedback@hashicorp.com. Thanks!