You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.tf 1.3KB

1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. module "property"{
  2. source = "./modules/property"
  3. secure = var.secure
  4. cp_code_id = var.cp_code_id
  5. edge_hostname = var.edge_hostname
  6. contract_id = var.contract_id
  7. group_id = var.group_id
  8. network = var.network
  9. rule_format = var.rule_format
  10. user_id = var.user_id
  11. product_id = var.product_id
  12. email = var.email
  13. cloudlet_policy_id = module.cloudlets.cloudlet_policy_id
  14. edgeworker_id = module.edgeworkers.edgeworker_id
  15. }
  16. module "security"{
  17. source = "./modules/security"
  18. user_id = var.user_id
  19. contract_id = var.contract_id
  20. group_id = var.group_id
  21. network = var.network
  22. email = var.email
  23. security_policy_prefix = var.security_policy_prefix
  24. security_policy_name = var.security_policy_name
  25. host_names = var.host_names
  26. geo_block_network_list_id = module.network-lists.geo_block_network_list_id
  27. depends_on = [module.network-lists, module.property]
  28. }
  29. module "network-lists"{
  30. source = "./modules/network-lists"
  31. user_id = var.user_id
  32. email = var.email
  33. network = var.network
  34. geo_block_list = var.geo_block_list
  35. }
  36. module "cloudlets"{
  37. source = "./modules/cloudlets"
  38. user_id = var.user_id
  39. group_id = var.group_id
  40. network = var.network
  41. }
  42. module "edgeworkers"{
  43. source = "./modules/edgeworkers"
  44. user_id = var.user_id
  45. group_id = var.group_id
  46. network = var.network
  47. }