Skip to content

Commit

Permalink
resource naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoo committed Dec 27, 2024
1 parent 695b7a0 commit 77cd874
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 30 deletions.
2 changes: 1 addition & 1 deletion fast/stages/2-security/certs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module "cas" {
location = each.value.location
}

resource "google_certificate_manager_trust_config" "dev_trust_configs" {
resource "google_certificate_manager_trust_config" "default" {
for_each = { for k in local.trust_configs : k.key => k }
name = each.value.name
project = module.project[each.value.environment].project_id
Expand Down
2 changes: 1 addition & 1 deletion fast/stages/2-security/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ locals {
for k in local._output_kms_keys : k.key => k.id
}
trust_configs = {
for k, v in google_certificate_manager_trust_config.dev_trust_configs :
for k, v in google_certificate_manager_trust_config.default :
k => v.id
}
}
Expand Down
28 changes: 0 additions & 28 deletions tests/fast/stages/s1_resman/simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1652,34 +1652,6 @@ values:
parent: organizations/123456789012
tags: null
timeouts: null
module.top-level-folder["sandbox"].google_org_policy_policy.default["compute.vmExternalIpAccess"]:
dry_run_spec: []
spec:
- inherit_from_parent: null
reset: null
rules:
- allow_all: 'TRUE'
condition: []
deny_all: null
enforce: null
parameters: null
values: []
timeouts: null
module.top-level-folder["sandbox"].google_org_policy_policy.default["sql.restrictPublicIp"]:
dry_run_spec: []
spec:
- inherit_from_parent: null
reset: null
rules:
- allow_all: null
condition: []
deny_all: null
enforce: 'TRUE'
parameters: null
values: []
timeouts: null
module.top-level-folder["sandbox"].google_tags_tag_binding.binding["context"]:
timeouts: null
module.top-level-folder["teams"].google_folder.folder[0]:
deletion_protection: false
display_name: Teams
Expand Down

0 comments on commit 77cd874

Please sign in to comment.