outputs.tf 536 B

1234567891011121314151617
  1. # =======================================
  2. # IPsec Security Gateway (SGW) deployment
  3. # Outputs
  4. # =======================================
  5. # ipsec-configs
  6. output "subnets_pairs" {
  7. description = "Subnet pairs for Remote SGW which is not supported Route-based policies, such as Mikrotik CHR."
  8. value = local.subnets_pairs
  9. }
  10. # vpc
  11. output "yc_rt_cmd" {
  12. description = "Provide yc CLI command string for change traffic flow via route-table manually."
  13. value = var.yc_subnets.force_subnets_update ? "true" : local.yc_rt_cmd
  14. }