Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datalake configuration at creation time #561

Closed
luisllm opened this issue Sep 10, 2021 · 1 comment
Closed

Datalake configuration at creation time #561

luisllm opened this issue Sep 10, 2021 · 1 comment

Comments

@luisllm
Copy link

luisllm commented Sep 10, 2021

Hello,

First of all, I am not sure whether this a documentation bug or a feature request.

How are we supposed to create a functional mongodbatlas datalake without the config being part of the arguments?
In the documentation, the config is not part of the arguments, only part of the attributes you get once the datalake is created. Is it only possible to create like an empty datalake without any configuration, database, query, etc?
https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/data_lake

Taking a look at the code, it seems like it should be possible to pass the config as the parameter, at the time you create the resource, by using "storage_stores", and "storage_databases":
https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/mongodbatlas/data_source_mongodbatlas_data_lake.go

Thanks,
Luis

@themantissa
Copy link
Collaborator

@luisllm we added what was available to automated for Data Lake via the Atlas Administration API. As you've noticed some configuration options are only exported (i.e. in the response) and not able to be configured via the API and so are not available in Terraform. These must be configured via the UI. The Product Manager, Ben Flast - [email protected], is aware of this and has informed me the team plans to add this ability. When they do we will add the options to Terraform. Feel free to reach out to him to provide more feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants