Skip to content

Commit

Permalink
disable vpn
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Aug 13, 2023
1 parent 1dd98b0 commit 827c924
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "null_resource" "force_redeploy" {
triggers = {
// replace this resource whenever staging blueprint is revised
fabric_staging_revision = module.fabric.staging_revision
vpn_routing_staging_revision = module.vpn_routing.staging_revision
# vpn_routing_staging_revision = module.vpn_routing.staging_revision
}
}

Expand All @@ -19,13 +19,13 @@ resource "null_resource" "force_redeploy" {
resource "apstra_blueprint_deployment" "dc_1" {
blueprint_id = module.fabric.blueprint_id
comment = "Deployment by Terraform {{.TerraformVersion}}, Apstra provider {{.ProviderVersion}}, User $USER."
depends_on = [module.fabric, module.vpn_routing, null_resource.force_redeploy]
# depends_on = [module.fabric, module.vpn_routing, null_resource.force_redeploy]
}

module "vpn_routing" {
source = "./_vpn_routing"
blueprint_id = module.fabric.blueprint_id
routing_zone_id = module.fabric.routing_zone_id
vpn_edge_router_ip = local.vpn_edge_router_ip
vpn_routing_policies = local.vpn_routing_policies
}
#module "vpn_routing" {
# source = "./_vpn_routing"
# blueprint_id = module.fabric.blueprint_id
# routing_zone_id = module.fabric.routing_zone_id
# vpn_edge_router_ip = local.vpn_edge_router_ip
# vpn_routing_policies = local.vpn_routing_policies
#}

0 comments on commit 827c924

Please sign in to comment.