/terraform-citrix-mcdg

Terraform module to create Citrix Machine Catalog and Delivery Group resources

Primary LanguageHCLMIT LicenseMIT

Maintained Terraform License: MIT

Table of Contents

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 = "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        = 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
}

Share the Love

Like this project? Please give it a ★ on our GitHub! It helps us a lot.


Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

If you are interested in being a contributor and want to get involved in developing this project, we would love to hear from you! Email us.

PRs are welcome. We follow the typical "fork-and-pull" Git workflow.

  • Fork the repo on GitHub
  • Clone the project to your own machine
  • Commit changes to your own branch
  • Push your work back up to your fork
  • Submit a Pull Request so that we can review your changes

NOTE: Be sure to merge the latest changes from "upstream" before making a pull request!


Requirements

Name Version
terraform >= 1.4.0
citrix >=0.6.3

Providers

Name Version
citrix 0.6.3

Modules

No modules.

Resources

Name Type
citrix_delivery_group.example_delivery_group resource
citrix_machine_catalog.example_manual_non_power_managed_mtsession resource

Inputs

Name Description Type Default Required
ad_admin_password The Domain Admin username of the on-premises Active Directory / The API key client id for Citrix Cloud customer. string n/a yes
ad_admin_username The Domain Admin password of the on-premises Active Directory / The API key client secret for Citrix Cloud customer. string n/a yes
allow_list List of users to allow for the Delivery Group in DOMAIN\username format list(string) n/a yes
citrix_machine_catalog_account Allocation type of the machine catalog string n/a yes
citrix_machine_catalog_description Description of the machine catalog string n/a yes
citrix_machine_catalog_name Name of the machine catalog string n/a yes
citrix_machine_catalog_zone Zone of the machine catalog string n/a yes
delivery_group_description Description of the delivery group string n/a yes
delivery_group_name Name of the Delivery Group to create string n/a yes
desktop_description description of the published desktop string n/a yes
desktop_name Name of the published desktop string n/a yes
provider_disable_ssl_verification Disable SSL verification for the Citrix Virtual Apps and Desktops Delivery Controller. bool n/a yes
provider_hostname The hostname of the Citrix Virtual Apps and Desktops Delivery Controller. string n/a yes

Outputs

Name Description
delivery_group_id value of the delivery group id
machine_catalog_id value of the machine catalog id