Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mick Hilhorst committed Sep 26, 2023
1 parent b30c21f commit c7a71ea
Show file tree
Hide file tree
Showing 15 changed files with 374 additions and 374 deletions.
74 changes: 37 additions & 37 deletions terraform/citrix-adc/main.tf
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
module "vsphere_deployment" {
# Check if this needs to run based on global settings
count = var.terraform_settings.deploy_vsphere ? 1 : 0
# Import the source module
source = "./modules/vsphere.netscaler.deployment"
# Check if this needs to run based on global settings
count = var.terraform_settings.deploy_vsphere ? 1 : 0
# Import the source module
source = "./modules/vsphere.netscaler.deployment"

# vSphere settings
vsphere = var.vsphere
# vSphere settings
vsphere = var.vsphere

# VM settings
vm = var.vm
# VM settings
vm = var.vm
}


module "base_configuration" {
# Check if this needs to run based on global settings
count = var.terraform_settings.deploy_settings ? 1 : 0
# Import the source module
source = "./modules/netscaler.base.configuration"

# Default settings / Best Practices & Profiles
# base_configuration.tf
logon_information = var.logon_information
base_configuration = var.base_configuration
base_configuration_snip = var.base_configuration_snip

# Virtual Servers / Services creation
# base_vservers.tf
servers = var.servers
service_groups = var.service_groups
virtual_servers = var.virtual_servers

#LDAP (advanced) authentication with global binding
# base_ldaps.tf
auth_ldaps = var.auth_ldaps

#Gateway configuration
# base_gateway.tf
gateway = var.gateway
# Check if this needs to run based on global settings
count = var.terraform_settings.deploy_settings ? 1 : 0
# Import the source module
source = "./modules/netscaler.base.configuration"

# Default settings / Best Practices & Profiles
# base_configuration.tf
logon_information = var.logon_information
base_configuration = var.base_configuration
base_configuration_snip = var.base_configuration_snip

# Virtual Servers / Services creation
# base_vservers.tf
servers = var.servers
service_groups = var.service_groups
virtual_servers = var.virtual_servers

#LDAP (advanced) authentication with global binding
# base_ldaps.tf
auth_ldaps = var.auth_ldaps

#Gateway configuration
# base_gateway.tf
gateway = var.gateway

}

module "letsencrypt" {
count = var.terraform_settings.deploy_letsencrypt ? 1 : 0
source = "./modules/netscaler.letsencrypt"
count = var.terraform_settings.deploy_letsencrypt ? 1 : 0
source = "./modules/netscaler.letsencrypt"

# LetsEncrypt configuration
# LetsEncrypt configuration

# Set these variables in the module variables.tf file
# They have been excluded from the main terraform.tfvars file for ease of reading
# Set these variables in the module variables.tf file
# They have been excluded from the main terraform.tfvars file for ease of reading
}

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Set NS Hostname
resource "citrixadc_nshostname" "base_hostname" {
hostname = var.base_configuration.hostname
hostname = var.base_configuration.hostname
}


Expand All @@ -22,77 +22,77 @@ resource "citrixadc_nsparam" "base_nsparam" {

# Configure Modes
resource "citrixadc_nsmode" "base_nsmode" {
bridgebpdus = false
cka = false
dradv = false
dradv6 = false
edge = true
fr = true
iradv = false
l2 = false
l3 = false
mbf = false
bridgebpdus = false
cka = false
dradv = false
dradv6 = false
edge = true
fr = true
iradv = false
l2 = false
l3 = false
mbf = false
mediaclassification = false
pmtud = true
sradv = false
sradv6 = false
tcpb = false
ulfd = false
usnip = true
usip = false
pmtud = true
sradv = false
sradv6 = false
tcpb = false
ulfd = false
usnip = true
usip = false
}


# Configure Features
resource "citrixadc_nsfeature" "advanced_nsfeature" {
aaa = var.base_configuration.advanced
adaptivetcp = false
apigateway = false
appflow = false
appfw = false
appqoe = false
bgp = false
bot = false
cf = false
ch = false
ci = false
cloudbridge = false
cmp = false
aaa = var.base_configuration.advanced
adaptivetcp = false
apigateway = false
appflow = false
appfw = false
appqoe = false
bgp = false
bot = false
cf = false
ch = false
ci = false
cloudbridge = false
cmp = false
contentaccelerator = false
cqa = false
cr = false
cs = true
feo = false
forwardproxy = false
gslb = false
hdosp = false
ic = false
ipv6pt = false
isis = false
lb = true
lsn = false
ospf = false
pq = false
push = false
rdpproxy = false
rep = false
responder = true
rewrite = true
rip = false
rise = false
sp = false
ssl = true
sslinterception = false
sslvpn = var.base_configuration.advanced
urlfiltering = false
videooptimization = false
wl = false
cqa = false
cr = false
cs = true
feo = false
forwardproxy = false
gslb = false
hdosp = false
ic = false
ipv6pt = false
isis = false
lb = true
lsn = false
ospf = false
pq = false
push = false
rdpproxy = false
rep = false
responder = true
rewrite = true
rip = false
rise = false
sp = false
ssl = true
sslinterception = false
sslvpn = var.base_configuration.advanced
urlfiltering = false
videooptimization = false
wl = false
}



resource "citrixadc_systemparameter" "base_systemparam" {
strongpassword = "enableall"
strongpassword = "enableall"
}


Expand Down
Loading

0 comments on commit c7a71ea

Please sign in to comment.