Skip to content

Commit

Permalink
chore: Update terraform-citrix-mcdg module to v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
abraxas-citrix-bot committed Jul 30, 2024
1 parent 28ec43e commit 39e9c89
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 38 deletions.
33 changes: 21 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,37 @@


## Usage
Step 1. Enter citrix admin password as variable

#password for windows
$env:TF_VAR_ad_admin_password=""

#password for linux
export TF_VAR_ad_admin_password=""

Step 2. Rename and enter the correct values
File examples\terraform.template.tfvars.examples

Step 3. GO
terraform init, terraform plan, apply

```
module "citrix_core" {
source = "git::https://github.com/dimi4ik/terraform-citrix-mcdg/?ref=v0.0.5"
delivery_group_name = var.delivery_group_name
delivery_group_description = var.delivery_group_description
desktop_description = var.desktop_description
desktop_name = var.desktop_description
#source = "gitlab.abraxas-tools.ch/sit/terraform-azurerm-rg-mvd-v2/azurerg"
source = "git::https://github.com/dimi4ik/terraform-citrix-mcdg/?ref=v0.0.5"
delivery_group_name = var.delivery_group_name
delivery_group_description = var.delivery_group_description
desktop_description = var.desktop_description
desktop_name = var.desktop_name
citrix_machine_catalog_description = var.citrix_machine_catalog_description
citrix_machine_catalog_name = var.citrix_machine_catalog_name
citrix_machine_catalog_zone = var.citrix_machine_catalog_zone
ad_admin_password = var.ad_admin_password
ad_admin_username = var.ad_admin_username
provider_hostname = var.provider_hostname
citrix_machine_catalog_account =var.citrix_machine_catalog_account
citrix_machine_catalog_name = var.citrix_machine_catalog_name
citrix_machine_catalog_zone = data.citrix_zone.test_zone.id
ad_admin_password = var.ad_admin_password
ad_admin_username = var.ad_admin_username
provider_hostname = var.provider_hostname
citrix_machine_catalog_account = var.citrix_machine_catalog_account
provider_disable_ssl_verification = var.provider_disable_ssl_verification
allow_list = var.allow_list
allow_list = var.allow_list
}
```

Expand Down
11 changes: 8 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@

## Providers

No providers.
| Name | Version |
|------|---------|
| <a name="provider_citrix"></a> [citrix](#provider\_citrix) | 0.6.3 |

## Modules

| Name | Source | Version |
|------|--------|---------|
| <a name="module_citrix_core"></a> [citrix\_core](#module\_citrix\_core) | git::https://github.com/dimi4ik/terraform-citrix-mcdg/ | v0.0.4 |
| <a name="module_citrix_core"></a> [citrix\_core](#module\_citrix\_core) | git::https://github.com/dimi4ik/terraform-citrix-mcdg/ | v0.0.5 |

## Resources

No resources.
| Name | Type |
|------|------|
| [citrix_zone.test_zone](https://registry.terraform.io/providers/citrix/citrix/latest/docs/data-sources/zone) | data source |

## Inputs

Expand All @@ -31,6 +35,7 @@ No resources.
| <a name="input_citrix_machine_catalog_description"></a> [citrix\_machine\_catalog\_description](#input\_citrix\_machine\_catalog\_description) | Description of the machine catalog | `string` | n/a | yes |
| <a name="input_citrix_machine_catalog_name"></a> [citrix\_machine\_catalog\_name](#input\_citrix\_machine\_catalog\_name) | Name of the machine catalog | `string` | n/a | yes |
| <a name="input_citrix_machine_catalog_zone"></a> [citrix\_machine\_catalog\_zone](#input\_citrix\_machine\_catalog\_zone) | Zone of the machine catalog | `string` | n/a | yes |
| <a name="input_citrix_zone"></a> [citrix\_zone](#input\_citrix\_zone) | value | `string` | n/a | yes |
| <a name="input_delivery_group_description"></a> [delivery\_group\_description](#input\_delivery\_group\_description) | Description of the delivery group | `string` | n/a | yes |
| <a name="input_delivery_group_name"></a> [delivery\_group\_name](#input\_delivery\_group\_name) | Name of the Delivery Group to create | `string` | n/a | yes |
| <a name="input_desktop_description"></a> [desktop\_description](#input\_desktop\_description) | description of the published desktop | `string` | n/a | yes |
Expand Down
9 changes: 3 additions & 6 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ module "citrix_core" {
ad_admin_password = var.ad_admin_password
ad_admin_username = var.ad_admin_username
provider_hostname = var.provider_hostname
citrix_machine_catalog_account = var.citrix_machine_catalog_account
provider_disable_ssl_verification = var.provider_disable_ssl_verification
allow_list = var.allow_list
citrix_machine_catalog_account = var.citrix_machine_catalog_account
provider_disable_ssl_verification = var.provider_disable_ssl_verification
allow_list = var.allow_list
}



32 changes: 17 additions & 15 deletions examples/terraform.template.tfvars.examples
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
#######################################################################################
# Variables for the deployment of the Citrix Virtual Apps and Desktops service on Azure
# Variable für neue MVD Umgebung Kunde Allgemein
# Variables for the deployment of the Citrix Virtual Apps and Desktops on Premises
# Rename and enter the correct values
#######################################################################################

ad_admin_username = "domain\\admin"
provider_disable_ssl_verification = true
citrix_machine_catalog_zone = "xxxxxxxxxxxxxxxxxxx"
provider_hostname = "10.0.0.5"
citrix_machine_catalog_name = "mc001"
citrix_machine_catalog_description = "Machine Catalog for the example delivery group"
citrix_machine_catalog_account = "domain\\vda
delivery_group_name = "example-delivery-group"
delivery_group_description = "Delivery Group for the example machine catalog"
desktop_name = "vDesktop"
desktop_description = "Virtual Desktop for the example delivery group"
allow_list = ["domain\\admin"]
citrix_zone = "ctx-test-zone"
citrix_zone = "ctx-test-zone" #Name of the zone the machine catalog is associated with.
ad_admin_username = "domain\\admin" #Active Directory Admin or Citrix Admin Username to connect to DDC server
provider_hostname = "10.0.0.5" #For Citrix on-premises customers (Required): Use this to specify Delivery Controller hostname.
citrix_machine_catalog_name = "mc001" #Name of the machine catalog
citrix_machine_catalog_description = "Machine Catalog for the example delivery group" #Description of the machine catalog
citrix_machine_catalog_account = "domain\\vda" #The Computer AD Account for the machine. Must be in the format DOMAIN\\MACHINE

delivery_group_name = "example-delivery-group" #Name of the machine catalog
delivery_group_description = "Delivery Group for the example machine catalog" #Description of the machine catalog
desktop_name = "vDesktop" #A list of Desktop resources to publish on the delivery group.
desktop_description = "Virtual #Desktop for the example delivery group" #Description of the published desktop
allow_list = ["domain\\admin"] #Users who can use this Desktop. Must be in DOMAIN\UserOrGroupName or user@domain.com format


provider_disable_ssl_verification = true
2 changes: 1 addition & 1 deletion examples/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ variable "delivery_group_description" {
variable "citrix_zone" {
description = "value"
type = string
}
}
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ resource "citrix_delivery_group" "example_delivery_group" {
restricted_access_users = {
allow_list = var.allow_list
}
}
}

0 comments on commit 39e9c89

Please sign in to comment.