https://github.com/pcdev-cloud/terraform-tfe-google_project
https://github.com/pcdev-cloud/terraform-tfe-google_project
terraform-cloud terraform-module terraform-modules
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pcdev-cloud/terraform-tfe-google_project
- Owner: PCDEV-Cloud
- Created: 2023-12-15T15:23:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-10T11:51:19.000Z (about 1 year ago)
- Last Synced: 2025-01-11T16:32:51.261Z (4 months ago)
- Topics: terraform-cloud, terraform-module, terraform-modules
- Language: HCL
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Cloud/Enterprise - Project in Google Cloud
This module is used to create and manage projects based on the infrastructure built on the Google Cloud Platform using Terraform Cloud/Enterprise. Each project creates a set of Google projects, OIDC providers with service accounts and workspaces in Terraform Cloud/Enterprise and connect them together, providing a ready space to work.
## Features
1. Create a ready-made environment/project in Google Cloud Platform for each environment in the project.
2. Create a project and workspaces for each environment. Each workspace will be automatically connected to the project in Google Cloud via the OIDC provider.> [!NOTE]
>
> This module consists of other modules:
>
> - [terraform-google-organization//modules/project](https://github.com/PCDEV-Cloud/terraform-google-organization/tree/main/modules/project)
> - [terraform-google-organization//modules/folders](https://github.com/PCDEV-Cloud/terraform-google-organization/tree/main/modules/folders)
> - [terraform-google-iam//modules/iam-tfe-oidc](https://github.com/PCDEV-Cloud/terraform-google-iam/tree/main/modules/iam-tfe-oidc)
> - [tfe_project](https://github.com/PCDEV-Cloud/terraform-tfe-tfe_project)
> - [tfe_workspace](https://github.com/PCDEV-Cloud/terraform-tfe-tfe_workspace)
>
> Fetures in `google_config` and `tfe_config` depend on the above modules whether they support a specific feature or not.## Usage
```hcl
module "project" {
source = "github.com/PCDEV-Cloud/terraform-tfe-google_project"name = "Example-Project"
environments = ["staging", "uat", "production"]google_config = {
parent = ""
}tfe_config = {
organization = ""
}
}
```## Examples
- [complete](https://github.com/PCDEV-Cloud/terraform-tfe-google_project/tree/main/examples/complete) - Creates project with 2 environments and fully custom settings
- [simple](https://github.com/PCDEV-Cloud/terraform-tfe-google_project/tree/main/examples/simple) - Creates project with 2 environments with the minimum settings necessary to start