You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
I think you'll find the problem is the problem is caused by the value you've set for the Network Domain Plan attribute as "STANDARD" isn't a valid option
The valid options for the plan attribute are "ESSENTIALS", "ADVANCED" or "ENTERPRISE"
The plan attribute is also optional so if simply don't include it then it should default to ESSENTIALS
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:
The terraform plan works well, nonetheless the terraform apply gave me this error message:
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!
The text was updated successfully, but these errors were encountered: