Open benofben opened 6 years ago
I've just hard coded the services for now: https://github.com/cloud-partners/oci-couchbase/blob/master/simple/scripts/server.sh#L70
I'm wondering if this just ends up being multiple modules. I'd really rather solve it with python availabe in Terraform as described here: https://twitter.com/benofben/status/1035311554328031233
Turns out we have a need for MDS now and 0.12 isn't out. I'm still skeptical it'll solve the problem. The end result is that we're writing a generator kinda like this one: https://github.com/couchbase-partners/amazon-cloud-formation-couchbase
oh no. Terraform isn't valid JSON (yet). So this needs to generate a string, not a JSON object. Ewww.....
I think that's probably enough of a skeleton.
Hey @OguzPastirmaci can you PR you changes up to the root repo?
This is done, maybe?
It's not currently obvious how to do this in Terraform. Gruntwork has an approach here: https://github.com/gruntwork-io/terraform-aws-couchbase/tree/master/examples/couchbase-cluster-mds