Skip to content

Commit 21540a6

Browse files
committed
add outputs
1 parent 9855e0e commit 21540a6

File tree

7 files changed

+23
-0
lines changed

7 files changed

+23
-0
lines changed

2-environments/envs/production/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
| env\_kms\_project\_id | Project for environment Cloud Key Management Service (KMS). |
1919
| env\_kms\_project\_number | Project Number for environment Cloud Key Management Service (KMS). |
2020
| env\_secrets\_project\_id | Project for environment related secrets. |
21+
| env\_secrets\_project\_number | Project for environment related secrets. |
2122

2223
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
2324

2-environments/envs/production/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ output "env_secrets_project_id" {
2424
value = module.env.env_secrets_project_id
2525
}
2626

27+
output "env_secrets_project_number" {
28+
description = "Project for environment related secrets."
29+
value = module.env.env_secrets_project_number
30+
}
31+
2732
output "env_kms_project_id" {
2833
description = "Project for environment Cloud Key Management Service (KMS)."
2934
value = module.env.env_kms_project_id

2-environments/modules/env_baseline/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
| env\_kms\_project\_id | Project for environment Cloud Key Management Service (KMS). |
2323
| env\_kms\_project\_number | Project number for envinronment Cloud Key Management Service (KMS). |
2424
| env\_secrets\_project\_id | Project for environment secrets. |
25+
| env\_secrets\_project\_number | Project number for environment secrets. |
2526

2627
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

2-environments/modules/env_baseline/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ output "env_secrets_project_id" {
2424
value = module.env_secrets.project_id
2525
}
2626

27+
output "env_secrets_project_number" {
28+
description = "Project number for environment secrets."
29+
value = module.env_secrets.project_number
30+
}
31+
2732
output "env_kms_project_id" {
2833
description = "Project for environment Cloud Key Management Service (KMS)."
2934
value = module.env_kms.project_id

4-projects/business_unit_1/development/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
| bucket | The created storage bucket. |
2222
| default\_region | The default region for the project. |
2323
| floating\_project | Project sample floating project. |
24+
| floating\_project\_number | Project number sample floating project. |
2425
| iap\_firewall\_tags | The security tags created for IAP (SSH and RDP) firewall rules and to be used on the VM created on step 5-app-infra on the peering network project. |
2526
| keyring | The name of the keyring. |
2627
| keys | List of created key names. |

4-projects/business_unit_1/development/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ output "floating_project" {
1919
value = module.env.floating_project
2020
}
2121

22+
output "floating_project_number" {
23+
description = "Project number sample floating project."
24+
value = module.env.floating_project_number
25+
}
26+
2227
output "peering_project" {
2328
description = "Project sample peering project id."
2429
value = module.env.peering_project

4-projects/modules/base_env/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ output "floating_project" {
1919
value = module.floating_project.project_id
2020
}
2121

22+
output "floating_project" {
23+
description = "Project sample floating project."
24+
value = module.floating_project.project_number
25+
}
26+
2227
output "peering_project" {
2328
description = "Project sample peering project id."
2429
value = module.peering_project.project_id

0 commit comments

Comments
 (0)