I have a mongo DB instance on alicloud which has 2 nodes in replica mode. When I try to load this info via alicloud_mongo_instances it loads data about the mongo instance but the list of nodes under mongos is empty. In my state file I see the following, which is incorrect:
"instances.0.mongos.#": "0",
Without being able to load any info about the replica nodes I can't construct a mongo URL for my services to use.
Terraform Version
Terraform v0.11.11
provider.alicloud v1.26.0
Affected Resource(s)
Please list the resources as a list, for example:
data.alicloud_mongo_instances
Terraform Configuration Files
data "alicloud_mongo_instances" "example" {
name_regex = "test"
}
I have a mongo DB instance on alicloud which has 2 nodes in replica mode. When I try to load this info via
alicloud_mongo_instances
it loads data about the mongo instance but the list of nodes undermongos
is empty. In my state file I see the following, which is incorrect:Without being able to load any info about the replica nodes I can't construct a mongo URL for my services to use.
Terraform Version
Terraform v0.11.11 provider.alicloud v1.26.0
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files