Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1005 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 1005 Bytes

Terraform Organization

This repository contains Terraform code to manage Google Workspace Admin and GitHub Organization.

Folders

github

This folder is currently empty and not documented. To do project.

google_workspace

This folder contains Terraform code to manage Google Workspace Admin, create accounts from local variables, associate them with email groups, and manage shared drives.

Prerequisites

  • Terraform installed on your machine
  • Google Service Account Configured
    • Google Workspace Admin API
    • Necessary permissions

Usage

Terraform Basics
# Initialize the Terraform project
terraform init -upgrade

# Plan the changes
terraform plan

# Apply the changes
terraform apply
Importing a Domain
terraform import 'googleworkspace_domain.domains["alunos.codaqui.dev"]' alunos.codaqui.dev
Importing a User
terraform import 'googleworkspace_user.users["[email protected]"]' [email protected]