Skip to content

datarobot/dr-gcp-external-pcs

Repository files navigation

Requirements

No requirements.

Providers

No providers.

Modules

Name Source Version
mongo-atlas ./mongo-atlas-database n/a
postgresql-db ./postgres-sql-module n/a
redis ./redis-cache-module n/a

Resources

No resources.

Inputs

Name Description Type Default Required
apac_copy_region Region for cross region snapshot store to support major region going down list(string)
[
"EASTERN_ASIA_PACIFIC",
"ASIA_EAST_2",
"NORTHEASTERN_ASIA_PACIFIC",
"ASIA_NORTHEAST_2",
"ASIA_NORTHEAST_3",
"SOUTHEASTERN_ASIA_PACIFIC",
"ASIA_SOUTH_1",
"ASIA_SOUTH_2",
"AUSTRALIA_SOUTHEAST_1",
"AUSTRALIA_SOUTHEAST_2",
"ASIA-SOUTHEAST_2"
]
no
atlas_private_key n/a any n/a yes
atlas_public_key n/a any n/a yes
eu_copy_region Region for cross region snapshot store to support major region going down list(string)
[
"WESTERN_EUROPE",
"EUROPE_NORTH_1",
"EUROPE_WEST_2",
"EUROPE_WEST_3",
"EUROPE_WEST_4",
"EUROPE_WEST_6",
"EUROPE_WEST_8",
"EUROPE_WEST_9",
"EUROPE_WEST_10",
"EUROPE_CENTRAL_2",
"EUROPE_WEST_12",
"EUROPE_SOUTHWEST_1"
]
no
gcp_region Google Region string "us-central1" no
me_copy_region Region for cross region snapshot store to support major region going down list(string)
[
"MIDDLE_EAST_WEST_1",
"MIDDLE_EAST_CENTRAL_1",
"MIDDLE_EAST_CENTRAL_2"
]
no
us_copy_region Region for cross region snapshot store to support major region going down list(string)
[
"CENTRAL_US",
"EASTERN_US",
"US_EAST_4",
"US_EAST_5",
"NORTH_AMERICA_NORTHEAST_1",
"NORTH_AMERICA_NORTHEAST_2",
"SOUTH_AMERICA_EAST_1",
"SOUTH_AMERICA_WEST_1",
"WESTERN_US",
"US_WEST_2",
"US_WEST_3",
"US_WEST_4",
"US_SOUTH_1"
]
no

Outputs

No outputs.

Requirements

Name Version
terraform >= 1.0
google ~> 5.9
mongodbatlas ~> 1.21

Providers

Name Version
google ~> 5.9
mongodbatlas ~> 1.21
random n/a

Modules

No modules.

Resources

Name Type
google_compute_address.ips_allocated_atlas_pl resource
google_compute_forwarding_rule.compute_address_rule_mapping_atlas_pl resource
google_secret_manager_secret.atlas_dbpass resource
google_secret_manager_secret_version.atlas_dbpass resource
mongodbatlas_advanced_cluster.cluster resource
mongodbatlas_cloud_backup_schedule.default resource
mongodbatlas_database_user.db-user resource
mongodbatlas_privatelink_endpoint.gcp_atlas_pl resource
mongodbatlas_privatelink_endpoint_service.atlas resource
mongodbatlas_project.gcp_atlas resource
mongodbatlas_project_ip_access_list.cidr_whitelist resource
random_password.password_atlas resource

Inputs

Name Description Type Default Required
atlas_dbuser atlas datarobot user string n/a yes
atlas_disk_size atlas disk size string n/a yes
atlas_gcp_region atlas gcp region string n/a yes
atlas_instance_type atlas instance type string "M40" no
atlas_org_id atlas datarobot organization id string n/a yes
atlas_subnet_cidr Atlas subnet CIDR block string n/a yes
atlas_subnet_name Atlas subnet name string n/a yes
chosen_copy_region Get current region cluster is provisioned string n/a yes
gcp_project_name GCP Project ID string n/a yes
gcp_region gcp region string n/a yes
labels Labels to Apply map(string) n/a yes
mongodb_version n/a string n/a yes
project_name Customer Name string n/a yes
termination_protection_enabled Enable protection to avoid accidental production cluster termination bool n/a yes
vpc_cidr_block VPC CIDR string n/a yes
vpc_network_id VPC Network ID string n/a yes
vpc_network_name VPC Network Name string n/a yes

Outputs

No outputs.

Requirements

Name Version
terraform >= 1.0
google >= 5.5

Providers

Name Version
google >= 5.5
random n/a

Modules

No modules.

Resources

Name Type
google_compute_global_address.postgres resource
google_secret_manager_secret.postgres_password resource
google_secret_manager_secret_version.postgres_password resource
google_service_networking_connection.private_service_connection_pg resource
google_sql_database_instance.postgres_instance resource
google_sql_user.postgres resource
random_password.postgres resource

Inputs

Name Description Type Default Required
disk_size disk size in GBs number 20 no
labels Labels to Apply map(string) n/a yes
postgres_subnet_cidr Postgres CIDR Range string n/a yes
production True if this is a production cluster bool n/a yes
project_name Customer Name string n/a yes
vpc_id VPC ID string n/a yes
vpc_network_id VPC Network ID string n/a yes

Outputs

No outputs.

Requirements

Name Version
terraform >= 1.0
google >= 5.5

Providers

Name Version
google >= 5.5

Modules

No modules.

Resources

Name Type
google_compute_global_address.redis resource
google_redis_instance.redis resource
google_secret_manager_secret.redis_password resource
google_secret_manager_secret_version.redis_password resource
google_service_networking_connection.private_service_connection resource

Inputs

Name Description Type Default Required
gcp_project_name GCP Project ID string n/a yes
labels Labels to Apply map(string) n/a yes
memory_size_gb GBs of ram for redis number 8 no
project_name Customer Name string n/a yes
redis_subnet_cidr Redis CIDR Range string n/a yes
vpc_id VPC ID string n/a yes
vpc_network_id VPC Network ID string n/a yes

Outputs

No outputs.

About

PCS module for provisioning mongo, postgres and redis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages