CompositionalIT / farmer

Repeatable Azure deployments with ARM templates - made easy!
https://compositionalit.github.io/farmer
MIT License
514 stars 156 forks source link

CosmosDB Gremlin support #1097

Open oco-adam opened 4 months ago

oco-adam commented 4 months ago

Hi,

Firstly, thanks very much for this excellent piece of technology!

Secondly, we're new to Farmer and would like to deploy a Gremlin-enabled CosmosDB account. I see in the docs that it currently says "with support for Gremlin, Table and Cassandra data models planned...".

So was just wondering if this is in the pipeline, and if not then do you have any best practice workarounds in the meantime?

Larocceau commented 4 months ago

Hey Adam, Glad to hear Farmer is working well for you. At the moment we are not working on support for Gremlin. If you would be willing to implement this support yourself, we could provide support with that. In the meantime, you can just use a separate ARM template for the part of your configuration that uses Gremlin.

oco-adam commented 4 months ago

Hi @Larocceau, thanks for your quick response. Yes, if time/deadlines will allow it, then I'd very much like to have a go at implementing this. But if you could possibly give me a couple of pointers as to how I could get started then would be much appreciated.

isaacabraham commented 3 months ago

Hi @oco-adam - the best place to start is https://compositionalit.github.io/farmer/contributing/ and https://compositionalit.github.io/farmer/contributing/adding-resources/. These guides give some tips - basically you need to find out how the ARM should look, and then start to modify the F# side of things to emit the appropriate ARM.

If you can even supply some ARM samples, that's 90% of the battle - one of us could probably add the F# side of things without that much effort, or pair with you so you know how to make similar changes in future.