Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dTSvenJansen committed Jun 16, 2023
1 parent 79276c7 commit 4947f31
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
8 changes: 4 additions & 4 deletions terraform/citrix-adc/destroy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
terraform init --upgrade &&
terraform destroy --auto-approve -target="module.adc-01-build" &&
sleep 15s &&
rm /home/localadmin/GIT/deviceTRUST-democloud/environment/terraform/citrix-adc/.terraform.lock.hcl -f &&
rm /home/localadmin/GIT/deviceTRUST-democloud/environment/terraform/citrix-adc/terraform.tfstate.backup -f &&
rm /home/localadmin/GIT/deviceTRUST-democloud/environment/terraform/citrix-adc/terraform.tfstate -f &&
rm /home/localadmin/GIT/deviceTRUST-democloud/environment/terraform/citrix-adc/.terraform -f -r
rm .terraform.lock.hcl -f &&
rm terraform.tfstate.backup -f &&
rm terraform.tfstate -f &&
rm .terraform -f -r
19 changes: 9 additions & 10 deletions terraform/citrix-adc/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ variable vm {
ip = "192.168.1.15"
gateway = "192.168.1.1"
netmask = "255.255.255.0"
name = "inf-adc-01"
name = "adc-01"
}
}

Expand All @@ -44,7 +44,7 @@ variable adc-base {
username = "nsroot"
oldpassword = "nsroot"
password = "NewSecurePassword"
hostname = "inf-adc-01"
hostname = "adc-01"
environmentname = "YourEnvironment"
timezone = "GMT+01:00-CET-Europe/Berlin"
fqdn_int = "domain.local"
Expand Down Expand Up @@ -115,7 +115,7 @@ variable adc-lb-srv {
default = {
name = [
"citrix-ctrl-01",
"inf-dc-01"
"dc-01"
]
ip = [
"192.168.1.101",
Expand All @@ -129,8 +129,8 @@ variable adc-lb {
default = {
name = [
"sf",
"inf-dc",
"inf-dc"
"dc",
"dc"
]
type = [
"http",
Expand All @@ -144,8 +144,8 @@ variable adc-lb {
]
backend-server = [
"citrix-ctrl-01",
"inf-dc-01",
"inf-dc-01"
"dc-01",
"dc-01"
]
lb-type = [
"content-switch",
Expand Down Expand Up @@ -173,7 +173,7 @@ variable adc-gw {
default = {
name = "citrix"
staserver = "citrix-ctrl-01"
dnsvservername = "lb_vs_inf-dc.domain.local_DNS_53"
dnsvservername = "lb_vs_dc.domain.local_DNS_53"
authenticationpolicy = "auth_pol_ldap_domain.local"
citrix-backend = "http://citrix-ctrl-01.domain.local/Citrix/StoreWeb/"
servicetype = "SSL"
Expand Down Expand Up @@ -268,7 +268,6 @@ variable "adc-cs-lb" {
type = map
default = {
name = [
"guac"
]
}
}
Expand All @@ -277,7 +276,7 @@ variable adc-finish {
type = map
description = ""
default = {
dnsvservername = "lb_vs_inf-dc.domain.local_DNS_53"
dnsvservername = "lb_vs_dc.domain.local_DNS_53"
dnsvservertype = ""
}
}

0 comments on commit 4947f31

Please sign in to comment.