we are trying to use mongodb registry as source in terraform main.tf, tried to use below thing but not working and also not able to find example
main.tf
module “mongodb” {
source = “mongodb/mongodbatlas”
version = “1.16.0”
parameter
}
we configure provider as below
provider “mongodbatlas” {
source = “mongodb/mongodbatlas”
version = “>= 1.10.2”
public_key =
private_key =
}
when we don’t use source in main.tf, it says source is required.
can someone please look and suggest the possible solution?