Skip to content

Commit 95be26e

Browse files
committed
Refactor directory structure
1 parent 3702e9c commit 95be26e

File tree

12 files changed

+39
-46
lines changed

12 files changed

+39
-46
lines changed
File renamed without changes.

README.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,41 @@ Links to documentation and other resources required to develop and iterate in th
4646
### 📓 Terraform Documentation
4747

4848
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
49+
#### Providers
50+
51+
| Name | Version |
52+
|------|---------|
53+
| google | 5.38.0 |
54+
55+
#### Modules
56+
57+
| Name | Source | Version |
58+
|------|--------|---------|
59+
| datadog | github.com/osinfra-io/terraform-datadog-google-integration//global | v0.1.6 |
60+
| projects | github.com/osinfra-io/terraform-google-project//global | v0.2.2 |
61+
62+
#### Resources
63+
64+
| Name | Type |
65+
|------|------|
66+
| [google_project_iam_member.terraform_service_account_groups](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_iam_member) | resource |
67+
68+
#### Inputs
69+
70+
| Name | Description | Type | Default | Required |
71+
|------|-------------|------|---------|:--------:|
72+
| billing\_account | The alphanumeric ID of the billing account this project belongs to | `string` | `"01C550-A2C86B-B8F16B"` | no |
73+
| datadog\_api\_key | Datadog API key | `string` | n/a | yes |
74+
| datadog\_app\_key | Datadog APP key | `string` | n/a | yes |
75+
| enable\_datadog | Enable Datadog integration | `bool` | `false` | no |
76+
| environment | The environment suffix for example: `sb` (Sandbox), `nonprod` (Non-Production), `prod` (Production) | `string` | `"sb"` | no |
77+
| folder\_id | The numeric ID of the folder this project should be created under. Only one of `org_id` or `folder_id` may be specified | `string` | n/a | yes |
78+
| primary\_domain | The main domain associated with your Google Workspace account. By default, your users get a username at this domain | `string` | `"osinfra.io"` | no |
79+
80+
#### Outputs
81+
82+
| Name | Description |
83+
|------|-------------|
84+
| project\_ids | The project IDs |
85+
| project\_numbers | The project numbers |
4986
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
File renamed without changes.

global/README.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

global/backend.tf

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

global/main.tf renamed to main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ module "projects" {
8686
# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_project_iam_member
8787

8888
resource "google_project_iam_member" "terraform_service_account_groups" {
89+
# Ensure roles do not impersonate or manage Service Accounts used at project level
90+
# checkov:skip=CKV_GCP_49: This is a requirement for Terraform to manage resources
8991
for_each = toset(
9092
[
9193
"audit01"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)