MongoDB Atlas
Fully managed MongoDB service
Example Usage
resource "apono_integration" "mongodb-atlas-integration" {
name = "MongoDB Atlas"
type = "mongodb-atlas"
connector_id = "apono-connector-id"
connected_resource_types = ["mongodb-atlas-cluster"]
metadata = {
project_id = "<Project Id>"
cluster_name = "<Cluster Name>"
connection_type = "<Connection Type>"
private_endpoint_id = "<Private Endpoint Id>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
kubernetes_secret = {
name = "name_template_value"
namespace = "namespace_template_value"
}
}resource "apono_resource_integration" "mongodb-atlas-integration" {
name = "MongoDB Atlas"
type = "mongodb-atlas"
connector_id = "apono-connector-id"
connected_resource_types = ["mongodb-atlas-cluster"]
integration_config = {
project_id = "<Project Id>"
cluster_name = "<Cluster Name>"
connection_type = "<Connection Type>"
private_endpoint_id = "<Private Endpoint Id>"
credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
}
secret_store_config = {
kubernetes = {
name = "name_template_value"
namespace = "namespace_template_value"
}
}{
"mongodb-atlas-integration": {
"name": "MongoDB Atlas",
"type": "mongodb-atlas",
"connector_id": "apono-connector-id",
"connected_resource_types": [
"mongodb-atlas-cluster"
],
"integration_config": {
"project_id": "<Project Id>",
"cluster_name": "<Cluster Name>",
"connection_type": "<Connection Type>",
"private_endpoint_id": "<Private Endpoint Id>",
"credentials_rotation_period_in_days": "<Credentials rotation period (in days)>",
"credentials_cleanup_period_in_days": "<User cleanup after access is revoked (in days)>",
},
"secret_store_config": {
"name": "name_template_value",
"namespace": "namespace_template_value"
}
}
}Schema
typemongodb-atlasconnected_resource_typesList of resource types to sync.
Integration Config
project_id(Required | String) Project Idcluster_name(Required | String) Cluster Nameconnection_type(Required | String) Connection TypeDefault value:
StandardPossible values: Standard, Private, PrivateEndpoint
private_endpoint_id(Optional | String) Private Endpoint Idcredentials_rotation_period_in_days(Optional | String) Credentials rotation period (in days)credentials_cleanup_period_in_days(Optional | String) User cleanup after access is revoked (in days)
Last updated
Was this helpful?
