Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raphaeldegail/environment-project

This terraform module sets up a Google Cloud project for an environment in a workspace.
https://github.com/raphaeldegail/environment-project

google-cloud terraform-module

Last synced: 27 days ago
JSON representation

This terraform module sets up a Google Cloud project for an environment in a workspace.

Awesome Lists containing this project

README

        

# environment-project

This terraform module sets up a Google Cloud project for an environment in a
workspace.

## Requirements

| Name | Version |
|------|---------|
| google | ~> 5.21.0 |
| random | ~> 3.6.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [google_billing_project_info.billing_association](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/billing_project_info) | resource |
| [google_project.environment_project](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project) | resource |
| [google_project_iam_policy.project_policy](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_iam_policy) | resource |
| [google_project_service.service](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_service) | resource |
| [random_string.random](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/string) | resource |
| [google_iam_policy.project_policy](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/iam_policy) | data source |
| [google_project.admin_project](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/project) | data source |

## Inputs

| Name | Description | Type | Default |
|------|-------------|------|---------|
| apis | A set of APIs to enable in the environment project. If the API has a service agent, a role and email can be specified. | ```set(object({ name = string service_agent = optional(object({ email = string role = string })) }))``` | n/a |
| billing\_account | The ID of the billing account used for the workspace. "Billing account User" permissions are required to execute module. | `string` | n/a |
| bindings | The IAM policy bindings for the environment project. | ```list(object({ role = string members = list(string) }))``` | n/a |
| folder | The ID of the Workspace folder. | `number` | n/a |
| name | The name of the environment project. | `string` | n/a |

## Outputs

| Name | Description |
|------|-------------|
| apis | The effective APIs enabled for the environment project. |
| project\_id | The ID of the environment project created. |
| project\_number | The identifying number for the environment project created. |