-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi there,
I'm fairly new to Terraform but I have already successfully run some plans on VmWare infrastructures. However, trying to use dd-cloud-compute-terraform, I got an issue that I was not able to solve reading the documentation of searching in Google.
I tried to create a simple plan to spin up a new Network Domain:
provider "ddcloud" {
"username" = "myusername"
"password" = "${var.admin_password}"
"region" = "AU"
}
# Network Domain
resource "ddcloud_networkdomain" "prod-au" {
name = "Sydney Location"
description = "My Sydney domain"
plan = "STANDARD"
datacenter = "AU9"
}
The terraform plan works well, nonetheless the terraform apply gave me this error message:
Error: Error applying plan:
1 error occurred:
- ddcloud_networkdomain.xxx: 1 error occurred:
- ddcloud_networkdomain.xxx: XML syntax error on line 4: invalid UTF-8
We have tried with both Terraform v0.11.14 and Terraform v0.11.13, as the latest Terraform version is not supported because the API used by the provider.ddcloud is not compatible.
As we don’t write any XML file (I only have two files, one with my password in it and the other one with the small plan above), I guess it’s an issue with the terraform-provider-ddcloud v2.2.2.
Do you guys have an idea of what I did wrong?
Thank you in advance!