Documentation ¶
Index ¶
- Constants
- Variables
- func FindRole(ctx context.Context, conn *matlas.Client, projectID, roleID string) (targetRole *matlas.AWSIAMRole, err error)
- func FlattenProjectAssignment(apiKeyAssignmentSet []APIProjectAssignmentKeyInput) []map[string]interface{}
- func HashCodeString(s string) int
- func Provider() *schema.Provider
- type APIProjectAssignmentKeyInput
- type AssumeRole
- type AtlastProjectDependents
- type Config
- type MongoDBClient
- type SecretData
Constants ¶
View Source
const ( DeprecationMessage = "this resource is deprecated and will be removed in %s, please transition to %s" DeprecationMessageParameterToResource = "this parameter is deprecated and will be removed in %s, please transition to %s" )
Variables ¶
View Source
var (
ProviderEnableBeta, _ = strconv.ParseBool(os.Getenv("MONGODB_ATLAS_ENABLE_BETA"))
)
Functions ¶
func FlattenProjectAssignment ¶ added in v1.10.0
func FlattenProjectAssignment(apiKeyAssignmentSet []APIProjectAssignmentKeyInput) []map[string]interface{}
func HashCodeString ¶ added in v1.0.0
HashCodeString hashes a string to a unique hashcode.
crc32 returns a uint32, but for our use we need and non negative integer. Here we cast to an integer and invert it if the result is negative.
Types ¶
type APIProjectAssignmentKeyInput ¶ added in v1.10.0
type APIProjectAssignmentKeyInput struct { ProjectID string `json:"desc,omitempty"` RoleNames []string `json:"roles,omitempty"` }
func ExpandProjectAssignmentSet ¶ added in v1.10.0
func ExpandProjectAssignmentSet(projectAssignments *schema.Set) []*APIProjectAssignmentKeyInput
type AssumeRole ¶ added in v1.7.0
type AtlastProjectDependents ¶ added in v1.3.1
type AtlastProjectDependents struct {
AdvancedClusters *matlas.AdvancedClustersResponse
}
Resources that need to be cleaned up before a project can be deleted
type Config ¶
type Config struct { PublicKey string PrivateKey string BaseURL string RealmBaseURL string AssumeRole *AssumeRole }
Config struct ...
type MongoDBClient ¶ added in v1.0.0
type MongoDBClient struct { Atlas *matlasClient.Client Config *Config }
MongoDBClient client
func (*MongoDBClient) GetRealmClient ¶ added in v1.0.1
type SecretData ¶ added in v1.7.0
Source Files ¶
- config.go
- data_source_mongodbatlas_accesslist_api_key.go
- data_source_mongodbatlas_accesslist_api_keys.go
- data_source_mongodbatlas_advanced_cluster.go
- data_source_mongodbatlas_advanced_clusters.go
- data_source_mongodbatlas_alert_configuration.go
- data_source_mongodbatlas_alert_configurations.go
- data_source_mongodbatlas_api_key.go
- data_source_mongodbatlas_api_keys.go
- data_source_mongodbatlas_auditing.go
- data_source_mongodbatlas_backup_compliance_policy.go
- data_source_mongodbatlas_cloud_backup_schedule.go
- data_source_mongodbatlas_cloud_backup_snapshot.go
- data_source_mongodbatlas_cloud_backup_snapshot_export_bucket.go
- data_source_mongodbatlas_cloud_backup_snapshot_export_buckets.go
- data_source_mongodbatlas_cloud_backup_snapshot_export_job.go
- data_source_mongodbatlas_cloud_backup_snapshot_export_jobs.go
- data_source_mongodbatlas_cloud_backup_snapshot_restore_job.go
- data_source_mongodbatlas_cloud_backup_snapshot_restore_jobs.go
- data_source_mongodbatlas_cloud_backup_snapshots.go
- data_source_mongodbatlas_cloud_provider_access.go
- data_source_mongodbatlas_cloud_provider_access_setup.go
- data_source_mongodbatlas_cluster.go
- data_source_mongodbatlas_cluster_outage_simulation.go
- data_source_mongodbatlas_clusters.go
- data_source_mongodbatlas_custom_db_role.go
- data_source_mongodbatlas_custom_db_roles.go
- data_source_mongodbatlas_custom_dns_configuration_cluster_aws.go
- data_source_mongodbatlas_data_lake.go
- data_source_mongodbatlas_data_lake_pipeline.go
- data_source_mongodbatlas_data_lake_pipeline_run.go
- data_source_mongodbatlas_data_lake_pipeline_runs.go
- data_source_mongodbatlas_data_lake_pipelines.go
- data_source_mongodbatlas_data_lakes.go
- data_source_mongodbatlas_database_user.go
- data_source_mongodbatlas_database_users.go
- data_source_mongodbatlas_event_trigger.go
- data_source_mongodbatlas_event_triggers.go
- data_source_mongodbatlas_federated_database_instance.go
- data_source_mongodbatlas_federated_database_instances.go
- data_source_mongodbatlas_federated_query_limit.go
- data_source_mongodbatlas_federated_query_limits.go
- data_source_mongodbatlas_federated_settings.go
- data_source_mongodbatlas_federated_settings_connected_organization.go
- data_source_mongodbatlas_federated_settings_connected_organizations.go
- data_source_mongodbatlas_federated_settings_identity_provider.go
- data_source_mongodbatlas_federated_settings_identity_providers.go
- data_source_mongodbatlas_federated_settings_organization_role_mapping.go
- data_source_mongodbatlas_federated_settings_organization_role_mappings.go
- data_source_mongodbatlas_global_cluster_config.go
- data_source_mongodbatlas_ldap_configuration.go
- data_source_mongodbatlas_ldap_verify.go
- data_source_mongodbatlas_maintenance_window.go
- data_source_mongodbatlas_network_container.go
- data_source_mongodbatlas_network_containers.go
- data_source_mongodbatlas_network_peering.go
- data_source_mongodbatlas_network_peerings.go
- data_source_mongodbatlas_online_archive.go
- data_source_mongodbatlas_org_id.go
- data_source_mongodbatlas_org_invitation.go
- data_source_mongodbatlas_organization.go
- data_source_mongodbatlas_organizations.go
- data_source_mongodbatlas_private_endpoint_regional_mode.go
- data_source_mongodbatlas_privatelink_endpoint.go
- data_source_mongodbatlas_privatelink_endpoint_service.go
- data_source_mongodbatlas_privatelink_endpoint_service_adl.go
- data_source_mongodbatlas_privatelink_endpoint_service_data_federation_online_archive.go
- data_source_mongodbatlas_privatelink_endpoint_service_data_federation_online_archives.go
- data_source_mongodbatlas_privatelink_endpoint_service_serverless.go
- data_source_mongodbatlas_privatelink_endpoints_service_adl.go
- data_source_mongodbatlas_privatelink_endpoints_service_serverless.go
- data_source_mongodbatlas_project.go
- data_source_mongodbatlas_project_api_key.go
- data_source_mongodbatlas_project_api_keys.go
- data_source_mongodbatlas_project_invitation.go
- data_source_mongodbatlas_project_ip_access_list.go
- data_source_mongodbatlas_projects.go
- data_source_mongodbatlas_search_index.go
- data_source_mongodbatlas_search_indexes.go
- data_source_mongodbatlas_serverless_instance.go
- data_source_mongodbatlas_serverless_instances.go
- data_source_mongodbatlas_team.go
- data_source_mongodbatlas_third_party_integration.go
- data_source_mongodbatlas_third_party_integrations.go
- data_source_mongodbatlas_x509_authentication_database_user.go
- provider.go
- resource_mongodbatlas_access_list_api_key.go
- resource_mongodbatlas_advanced_cluster.go
- resource_mongodbatlas_advanced_cluster_migrate.go
- resource_mongodbatlas_alert_configuration.go
- resource_mongodbatlas_api_key.go
- resource_mongodbatlas_auditing.go
- resource_mongodbatlas_backup_compliance_policy.go
- resource_mongodbatlas_cloud_backup_schedule.go
- resource_mongodbatlas_cloud_backup_snapshot.go
- resource_mongodbatlas_cloud_backup_snapshot_export_bucket.go
- resource_mongodbatlas_cloud_backup_snapshot_export_job.go
- resource_mongodbatlas_cloud_backup_snapshot_restore_job.go
- resource_mongodbatlas_cloud_provider_access.go
- resource_mongodbatlas_cloud_provider_access_authorization.go
- resource_mongodbatlas_cloud_provider_access_setup.go
- resource_mongodbatlas_cluster.go
- resource_mongodbatlas_cluster_migrate.go
- resource_mongodbatlas_cluster_outage_simulation.go
- resource_mongodbatlas_custom_db_role.go
- resource_mongodbatlas_custom_dns_configuration_cluster_aws.go
- resource_mongodbatlas_data_lake.go
- resource_mongodbatlas_data_lake_pipeline.go
- resource_mongodbatlas_database_user.go
- resource_mongodbatlas_encryption_at_rest.go
- resource_mongodbatlas_event_trigger.go
- resource_mongodbatlas_federated_database_instance.go
- resource_mongodbatlas_federated_query_limit.go
- resource_mongodbatlas_federated_settings_connected_organization.go
- resource_mongodbatlas_federated_settings_identity_provider.go
- resource_mongodbatlas_federated_settings_organization_role_mapping.go
- resource_mongodbatlas_global_cluster_config.go
- resource_mongodbatlas_ldap_configuration.go
- resource_mongodbatlas_ldap_verify.go
- resource_mongodbatlas_maintenance_window.go
- resource_mongodbatlas_network_container.go
- resource_mongodbatlas_network_peering.go
- resource_mongodbatlas_online_archive.go
- resource_mongodbatlas_org_invitation.go
- resource_mongodbatlas_organization.go
- resource_mongodbatlas_private_endpoint_regional_mode.go
- resource_mongodbatlas_privatelink_endpoint.go
- resource_mongodbatlas_privatelink_endpoint_serverless.go
- resource_mongodbatlas_privatelink_endpoint_service.go
- resource_mongodbatlas_privatelink_endpoint_service_adl.go
- resource_mongodbatlas_privatelink_endpoint_service_data_federation_online_archive.go
- resource_mongodbatlas_privatelink_endpoint_service_serverless.go
- resource_mongodbatlas_project.go
- resource_mongodbatlas_project_api_key.go
- resource_mongodbatlas_project_invitation.go
- resource_mongodbatlas_project_ip_access_list.go
- resource_mongodbatlas_search_index.go
- resource_mongodbatlas_serverless_instance.go
- resource_mongodbatlas_team.go
- resource_mongodbatlas_third_party_integration.go
- resource_mongodbatlas_x509_authentication_database_user.go
Click to show internal directories.
Click to hide internal directories.