Skip to content

Commit

Permalink
Update project ID and number references (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis authored Sep 20, 2024
1 parent 5f45768 commit f3178c2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
26 changes: 13 additions & 13 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ Links to documentation and other resources required to develop and iterate in th

| Name | Version |
|------|---------|
| google | 5.39.1 |
| google | 6.3.0 |

#### Modules

| Name | Source | Version |
|------|--------|---------|
| datadog | github.com/osinfra-io/terraform-datadog-google-integration | v0.2.1 |
| project | github.com/osinfra-io/terraform-google-project | v0.3.0 |
| datadog | github.com/osinfra-io/terraform-datadog-google-integration | v0.3.0 |
| project | github.com/osinfra-io/terraform-google-project | v0.4.0 |

#### Resources

Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module "datadog" {
is_cspm_enabled = true
is_security_command_center_enabled = true
labels = local.labels
project = module.project.project_id
project = module.project.id
}

# Google Project Module (osinfra.io)
Expand Down Expand Up @@ -78,7 +78,7 @@ resource "google_iam_workload_identity_pool" "this" {
description = "Workload Identity Pool for ${each.value.display_name}"
disabled = lookup(each.value, "disabled", false)
display_name = each.value.display_name
project = module.project.project_id
project = module.project.id
workload_identity_pool_id = each.key
}

Expand All @@ -93,7 +93,7 @@ resource "google_iam_workload_identity_pool_provider" "this" {
description = "Workload Identity Pool Provider for ${each.value.display_name}"
disabled = lookup(each.value, "disabled", false)
display_name = "${each.value.display_name} OIDC"
project = module.project.project_id
project = module.project.id
workload_identity_pool_id = google_iam_workload_identity_pool.this[each.key].workload_identity_pool_id
workload_identity_pool_provider_id = "${each.key}-oidc"

Expand Down
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

output "project_number" {
description = "The project number"
value = module.project.project_number
value = module.project.number
}

output "project_id" {
description = "The project ID"
value = module.project.project_id
value = module.project.id
}

output "workload_identity_pool_names" {
Expand Down

0 comments on commit f3178c2

Please sign in to comment.