This Terraform module installs the SDC package on a remote Windows host using the powerflex_sdc_host
resource.
It downloads the package either on local machine or remote (Windows) machine and deploys on Windows.
Name | Version |
---|---|
powerflex | >=1.6.0 |
Name | Version |
---|---|
powerflex | >=1.6.0 |
random | n/a |
terraform | n/a |
No modules.
Name | Type |
---|---|
powerflex_sdc_host.sdc_local_path | resource |
powerflex_sdc_host.sdc_remote_path | resource |
random_uuid.sdc_guid | resource |
terraform_data.sdc_pkg_local | resource |
terraform_data.sdc_pkg_remote | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
ip | Stores the IP address of the remote Windows host. | string |
n/a | yes |
mdm_ips | all the mdms (either primary,secondary or virtual ips) in a comma separated list by cluster if unset will use the mdms of the cluster set in the provider block eg. ['10.10.10.5,10.10.10.6', '10.10.10.7,10.10.10.8'] | list(string) |
n/a | yes |
remote_host | Stores the credentials for connecting to the remote Windows host. | object({ |
n/a | yes |
sdc_pkg | configuration for SDC package like url to download package from, copy as local package or at directory on remote server. | object({ |
n/a | yes |
No outputs.
module "sdc_host_win" {
# Here source points to the sdc_host_win submodule in the modules folder. You can change the value to point it according to your usecase.
source = "../../modules/sdc_host_win"
ip = var.ip
remote_host = var.remote_host
sdc_pkg = var.sdc_pkg
}
Please refer the SDC Host example here After providing proper values to all the attributes eg. using terraform.tfvars, then in that workspace, run
terraform init
terraform apply
After successful operation of above commands, to remove deployment, you need to execute:
terraform destroy