Describe the bug
When upgrading the Terraform provider to 1.1.0-beta it is no longer possible to create a new (non-existing) area using the resource dnacenter_site, as given below. Prior to 1.1.0-beta, it was possible to create a new area by using exactly this code.
resource "dnacenter_site" "subarea" {
provider = dnacenter
parameters {
site {
area {
name = var.subarea_name
parent_name = "${var.area_parent_name}/${var.area_name}"
}
}
type = "area"
}
}
With 1.1.0-beta, the error message appears telling that the "site_id" is missing. However, to create a new area, the id is not yet known and cannot be specified at this step.
Expected behavior
As in prior versions, this resource should create a new area when no "site_id" is specified.
Screenshots
Environment (please complete the following information):
Prerequisites
Describe the bug When upgrading the Terraform provider to 1.1.0-beta it is no longer possible to create a new (non-existing) area using the resource dnacenter_site, as given below. Prior to 1.1.0-beta, it was possible to create a new area by using exactly this code.
With 1.1.0-beta, the error message appears telling that the "site_id" is missing. However, to create a new area, the id is not yet known and cannot be specified at this step.
Expected behavior As in prior versions, this resource should create a new area when no "site_id" is specified.
Screenshots
Environment (please complete the following information):
Additional context