|  | 
| 2 | 2 | # Output Variables | 
| 3 | 3 | ############################################################################## | 
| 4 | 4 | 
 | 
|  | 5 | +output "prefix" { | 
|  | 6 | +  description = "The prefix that is associated with all resources" | 
|  | 7 | +  value       = var.prefix | 
|  | 8 | +} | 
|  | 9 | + | 
|  | 10 | +output "resource_group_names" { | 
|  | 11 | +  description = "List of resource groups names used within landing zone." | 
|  | 12 | +  value       = module.landing_zone.resource_group_names | 
|  | 13 | +} | 
|  | 14 | + | 
|  | 15 | +output "resource_group_data" { | 
|  | 16 | +  description = "List of resource groups data used within landing zone." | 
|  | 17 | +  value       = module.landing_zone.resource_group_data | 
|  | 18 | +} | 
|  | 19 | + | 
|  | 20 | +output "vpc_names" { | 
|  | 21 | +  description = "A list of the names of the VPC" | 
|  | 22 | +  value       = module.landing_zone.vpc_names | 
|  | 23 | +} | 
|  | 24 | + | 
|  | 25 | +output "vpc_data" { | 
|  | 26 | +  description = "List of VPC data" | 
|  | 27 | +  value       = module.landing_zone.vpc_data | 
|  | 28 | +} | 
|  | 29 | + | 
|  | 30 | +output "vpc_resource_list" { | 
|  | 31 | +  description = "List of VPC with VSI and Cluster deployed on the VPC." | 
|  | 32 | +  value       = module.landing_zone.vpc_resource_list | 
|  | 33 | +} | 
|  | 34 | + | 
|  | 35 | +output "subnet_data" { | 
|  | 36 | +  description = "List of Subnet data created" | 
|  | 37 | +  value       = module.landing_zone.subnet_data | 
|  | 38 | +} | 
|  | 39 | + | 
|  | 40 | +output "transit_gateway_name" { | 
|  | 41 | +  description = "The name of the transit gateway" | 
|  | 42 | +  value       = module.landing_zone.transit_gateway_name | 
|  | 43 | +} | 
|  | 44 | + | 
|  | 45 | +output "transit_gateway_data" { | 
|  | 46 | +  description = "Created transit gateway data" | 
|  | 47 | +  value       = module.landing_zone.transit_gateway_data | 
|  | 48 | +} | 
|  | 49 | + | 
|  | 50 | +output "cluster_names" { | 
|  | 51 | +  description = "List of create cluster names" | 
|  | 52 | +  value       = module.landing_zone.cluster_names | 
|  | 53 | +} | 
|  | 54 | + | 
|  | 55 | +output "cluster_data" { | 
|  | 56 | +  description = "List of cluster data" | 
|  | 57 | +  value       = module.landing_zone.cluster_data | 
|  | 58 | +} | 
|  | 59 | + | 
|  | 60 | +output "workload_cluster_id" { | 
|  | 61 | +  description = "The id of the workload cluster. If the cluster name does not exactly match the prefix-workload-cluster pattern it will be null." | 
|  | 62 | +  value       = module.landing_zone.workload_cluster_id | 
|  | 63 | +} | 
|  | 64 | + | 
|  | 65 | +output "management_cluster_id" { | 
|  | 66 | +  description = "The id of the management cluster. If the cluster name does not exactly match the prefix-management-cluster pattern it will be null." | 
|  | 67 | +  value       = module.landing_zone.management_cluster_id | 
|  | 68 | +} | 
|  | 69 | + | 
|  | 70 | +output "key_management_name" { | 
|  | 71 | +  description = "Name of key management service" | 
|  | 72 | +  value       = module.landing_zone.key_management_name | 
|  | 73 | +} | 
|  | 74 | + | 
|  | 75 | +output "key_management_crn" { | 
|  | 76 | +  description = "CRN for KMS instance" | 
|  | 77 | +  value       = module.landing_zone.key_management_crn | 
|  | 78 | +} | 
|  | 79 | + | 
|  | 80 | +output "key_management_guid" { | 
|  | 81 | +  description = "GUID for KMS instance" | 
|  | 82 | +  value       = module.landing_zone.key_management_guid | 
|  | 83 | +} | 
|  | 84 | + | 
|  | 85 | +output "key_rings" { | 
|  | 86 | +  description = "Key rings created by module" | 
|  | 87 | +  value       = module.landing_zone.key_rings | 
|  | 88 | +} | 
|  | 89 | + | 
|  | 90 | +output "key_map" { | 
|  | 91 | +  description = "Map of ids and keys for keys created" | 
|  | 92 | +  value       = module.landing_zone.key_map | 
|  | 93 | +} | 
|  | 94 | + | 
|  | 95 | +############################################################################## | 
|  | 96 | + | 
|  | 97 | +############################################################################## | 
|  | 98 | +# Output Configuration | 
|  | 99 | +############################################################################## | 
|  | 100 | + | 
| 5 | 101 | output "config" { | 
| 6 | 102 |   description = "Output configuration as encoded JSON" | 
| 7 | 103 |   value       = module.landing_zone.config | 
| 8 | 104 | } | 
|  | 105 | + | 
|  | 106 | +############################################################################## | 
0 commit comments