Atlas
- A brief description of what you are looking to do
- How you think this will help
- Why this matters to you
55 results found
-
Allow Atlas clusters to be paused using terraform
The ability to pause Atlas clusters through terraform would help with being able to pause our non-prod environments when not in use. Currently this has to be managed directly with the Atlas API
26 votesThis is out as of today in version 1.2.0 of the provider. See https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/cluster#paused for details. Thank you!
-
Allow creation of Atlas organizations in Terraform
there are really 3 steps for our dev teams to get moving in Atlas:
1. create an org
2. create a project
3. create a cluster
the first one is the only one that still has to be done from a console. if we had a terraform script to create an org in our account, we could trigger creation after approval in ServiceNow23 votesThis feature has been released in v1.10.0 of the Terraform Provider for MongoDB Atlas! Thank you for the feedback.
-
Add a resource to configure the backup policy for Cloud Provider Snapshots
Please add support to change the backup policy for Cloud Provider Snapshots.
This is the API I am referring to:
https://docs.atlas.mongodb.com/reference/api/cloud-provider-snapshot-schedule-modify-one/Thanks.
6 votesThis is now out in version 0.5.1 of the provider. Once CPS in enabled the Atlas default schedule is imported and can be modified via terraform configuration (however if you chose to use the default no modification is needed). https://www.terraform.io/docs/providers/mongodbatlas/r/cloud_provider_snapshot_backup_policy.html
-
Allow creating alerts via terraform
Allow creating alerts via terraform
13 votesReleased in version 0.4.0: https://www.terraform.io/docs/providers/mongodbatlas/r/alert_configuration.html
GA info 0.4.0
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider -
Allow adding a Team to a Project via Terraform
I can create a Project in Terraform, but I cannot add a Team to it afterwards.
I am an Organization Member, so I cannot see Projects that I do not have explicit access to. This means that for any Project I create via Terraform, I need to ask someone with more permissions to add my Team to the Project.
11 votesThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/team.html
and
https://www.terraform.io/docs/providers/mongodbatlas/r/project.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider -
Allow creation of API Keys and their Whitelists via Terraform
Currently it is not possible to create an Organization API Key via terraform and manage its IP Whitelist. This would be a very useful feature for large organizations: https://docs.atlas.mongodb.com/reference/api/apiKeys-orgs-create-one/
2 votesWhile this was not added to Terraform, support now exists for MongoDB Atlas Programmatic API key generation within Vault, which due to the sensitive nature of API keys this seemed a better fit for the functionality.
HashiCorp Vault 1.4 – https://www.mongodb.com/blog/post/manage-atlas-database-secrets-hashicorp-vault -
Enable the use of AWS PrivateLink in Terraform
MongoDB Atlas provides the ability to configure AWS PrivateLink to connect customer VPCs with MongoDB Atlas. I would like to see this capability exposed through Terraform.
3 votesThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/private_endpoint.html
and
https://www.terraform.io/docs/providers/mongodbatlas/r/private_endpoint_interface_link.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider -
Add Terraform resource for custom database roles
Could we have a Terraform resource for creating custom database roles?
6 votesThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/custom_db_role.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-providerThank you to community member Michał Paluchowski (https://github.com/mpaluchowski) for contributing to this resource!
-
atlas terrafrom mongodbatlas_encryption_at_rest
It would be great to have secrets as sensitive fields in the "mongodbatlasencryptionatrest" terraform resource such as client secrets, secretaccess_key, etc. Otherwise they show as plain text in the console/stdout. I understand they will still be stored in the state file, but at least they are removed from logs.
3 votesAll of the sensitive fields should now be marked as such in the code base for the provider. If any others are found please file an issue at:
https://github.com/mongodb/terraform-provider-mongodbatlas/issuesThank you!
-
Add support for name as argument for the team data sources
Currently, there is a datasource for team, but it requires an ID as argument.
There are available APIs with look ups by ID but also by name.
Can we support the data source look up by name as well? That would be interesting as could avoid knowing the ID of the project or team and look up that ID via name.Thanks.
(Note Admin edit -> as project missing name as an argument was a regression that is corrected in v0.4.1. However team is still up for later consideration for name expansion so leaving for feedback.)
2 votesThank you all for the feedback!
Completed via PR https://github.com/mongodb/terraform-provider-mongodbatlas/pull/253, in 0.6.2 and greater. Note a small bug is being corrected via https://github.com/mongodb/terraform-provider-mongodbatlas/issues/277 and will be included in the next release.
-
Terraform resource to provision maintenance windows
I propose creating a new terraform resource to provisioning maintenance windows.
This could be helpful to avoid setting this manually at the project level.
I'm new to Terraform but wouldn't mind to work on it, in case it makes sense.
Thanks
4 votesThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/maintenance_window.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider -
Mongodb 4.2 pit_enabled argument on mongodbatlas_cloud_provider_snapshot_restore_job
While version 0.4.0 of the MongoDB Atlas Terraform provider did introduce the pitenabled argument on the mongodbatlascluster resource, it does not appear that the mongodbatlascloudprovidersnapshotrestore_job was updated to be able to restore from a point-in-time.
Currently, the option is available in the Web UI but there is no way to automate it via Terraform scripts.
1 voteThese options will be included with the release we will cut shortly, v0.6.0. Thank you for the feedback and please continue to provide it either here or directly to melissa.plunkett@mongodb.com.
-
Enable the use of the timeouts { ... } block in resource declarations.
Enable the use of the timeouts { ... } block in resource declarations. I consistently get a timeout error on destroy of resources:
Error: error deleting MongoDB Private Endpoints Connection(5e4e93f3c0073240658e5b1f): timeout while waiting for state to become 'DELETED, FAILED' (last state: 'DELETING', timeout: 2m0s)
1 voteThe timeout on this resource has been increased (https://github.com/mongodb/terraform-provider-mongodbatlas/issues/151) and since then we’ve seen no reports hitting the timeout before completion of the deletion. If this is encountered again please file an issue at https://github.com/mongodb/terraform-provider-mongodbatlas/issues/ letting us know what resource is hitting a timeout, what version of the provider and terraform you are using, and any relevant logs.
Thank you!
-
Ability to create mongodbatlas database user with certificate X.509
It would be great to have the ability to create mongodbatlas database user with certificate X.509 and get back certificate encoded or not in the output.
1 voteThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/database_user.html
and
https://www.terraform.io/docs/providers/mongodbatlas/r/x509_authentication_database_user.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider -
Give option to IP whitelist security groups using Terraform
It would be good to enable the mongodbatlas terraform provider and the mongodbatlasprojectip_whitelist resource to allow the adding of security groups, on top of CIDR blocks and IP addresses.
this is supported in the Atlas API.
1 voteThis has been released in version 0.4.0
https://www.terraform.io/docs/providers/mongodbatlas/r/project_ip_whitelist.htmlMore info on 0.4.0:
https://www.mongodb.com/blog/post/new-major-version-of-terraform-mongodb-atlas-provider
- Don't see your idea?