The Google Workspace provider for Terraform allows you to manage domains, users, and groups in your Google Workspace. This provider is a technical pre

Announcing the Google Workspace Provider for HashiCorp Terraform Tech Preview

submited by
Style Pass
2021-06-24 13:30:13

The Google Workspace provider for Terraform allows you to manage domains, users, and groups in your Google Workspace. This provider is a technical preview, which means it's a community supported project and will require incremental testing and polishing to mature into a HashiCorp officially supported project.

This post will include use cases, requirements, configuration, and examples and show how to create your first user, your first group, and add a user to the group. Please file issues and detail your experience while using the provider. We welcome your feedback.

Here are some ways you can use the new Google Workspace provider to manage your Google Workspace account. Full examples with instructions are available in the provider repository.

Terraform uses a Google Cloud service account to manage resources created by the provider. To create the service account and generate a service account key, see Google’s documentation.

Once the key has been generated, save the JSON file locally and set the GOOGLEWORKSPACE_CREDENTIALS environment variable to the path of the service account key. Terraform will use this for authentication.

Leave a Comment