Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/raphaeldegail/environment-project
- Owner: RaphaeldeGail
- License: gpl-3.0
- Created: 2024-04-21T01:02:31.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T14:04:56.000Z (9 months ago)
- Last Synced: 2024-10-28T08:27:37.832Z (2 months ago)
- Topics: google-cloud, terraform-module
- Language: HCL
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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. |