I am unable to create a Altas container. Even though I am passing region to the TF resource, it doesn't get created and it fails at the end of terraform apply with * mongodbatlas_container.terraform: Error creating MongoDB Container: MongoDB Atlas: 400 The required attribute regionName was not specified.
It didn't happen previously when I downloaded the provider sometime in ~March (I downloaded on MacOs at that time and now I redownloaded for Linux build agent in Terraform Enterprise and started getting this error). This is what I have in the resource:
resource "mongodbatlas_container" "terraform" {
depends_on = ["mongodbatlas_project.terraform"]
group = "${mongodbatlas_project.terraform.id}"
atlas_cidr_block = "${var.atlas_cidr}"
provider_name = "AWS"
region = "${var.atlas_region}"
}
The CIDR I am passing into the resource is 10.100.0.0/24, the region EU_CENTRAL_1.
Hi,
I am unable to create a Altas container. Even though I am passing region to the TF resource, it doesn't get created and it fails at the end of
terraform apply
with* mongodbatlas_container.terraform: Error creating MongoDB Container: MongoDB Atlas: 400 The required attribute regionName was not specified.
It didn't happen previously when I downloaded the provider sometime in ~March (I downloaded on MacOs at that time and now I redownloaded for Linux build agent in Terraform Enterprise and started getting this error). This is what I have in the resource:
The CIDR I am passing into the resource is
10.100.0.0/24
, the regionEU_CENTRAL_1
.