Skip to content

komminarlabs/terraform-aws-sagemaker-studio

Repository files navigation

terraform-aws-sagemaker-studio

Terraform module to create and manage a SageMaker AI studio

Requirements

Name Version
terraform >= 0.13.0
aws >= 3.10

Providers

Name Version
aws >= 3.10

Inputs

Name Description Type Default Required
name The name for the sagemaker resources string n/a yes
subnet_ids The subnet ids list(string) n/a yes
tags A mapping of tags to assign to the resources map(string) n/a yes
vpc_id The VPC id string n/a yes
app_network_access_type Specifies the VPC used for non-EFS traffic string "PublicInternetOnly" no
lcc_python_kernel Specifies the custom lifecycle config file string null no
role_arn The arn of the IAM role to use for sagemaker string null no
security_groups The security groups list(string) null no
user_profiles The subnet ids list(string) [] no

Outputs

Name Description
domain The attributes of the sagemaker domain
user_profile The attributes of the users of sagemaker domain

Requirements

Name Version
terraform >= 1.3
aws ~> 6.0

Providers

Name Version
aws ~> 6.0

Modules

No modules.

Resources

Name Type
aws_efs_backup_policy.default resource
aws_iam_role.default resource
aws_iam_role_policy.default resource
aws_iam_role_policy_attachment.default resource
aws_sagemaker_domain.default resource
aws_sagemaker_studio_lifecycle_config.codeeditor_autoshutdown resource
aws_sagemaker_studio_lifecycle_config.jupyterlab_autoshutdown resource
aws_sagemaker_user_profile.default resource
aws_iam_policy_document.assume_policy data source
aws_iam_policy_document.default data source

Inputs

Name Description Type Default Required
name The name for the sagemaker resources string n/a yes
subnet_ids The subnet ids list(string) n/a yes
tags A mapping of tags to assign to the resources map(string) n/a yes
vpc_id The VPC id string n/a yes
app_network_access_type Specifies the VPC used for non-EFS traffic string "VpcOnly" no
app_security_group_management The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode string "Service" no
auth_mode The mode of authentication that members use to access the domain string "IAM" no
code_editor_app_settings The Code Editor application settings any null no
jupyter_lab_app_settings The settings for the JupyterLab application any null no
jupyter_server_app_settings The Jupyter server's app settings any null no
kms_key_id The kms key id of the AWS KMS Customer Managed Key to be used to encrypt the EFS volume attached to the domain string null no
region The Region where this resource will be managed. Defaults to the Region set in the provider configuration string null no
retention_policy The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted
object({
home_efs_file_system = optional(string, "Retain")
})
{} no
role_arn The arn of the IAM role to use for sagemaker string null no
security_groups The security groups list(string) null no
tag_propagation Indicates whether custom tag propagation is supported for the domain string "DISABLED" no
user_profiles The sagemaker user profiles list(string) [] no

Outputs

Name Description
domain The attributes of the sagemaker domain
user_profile The attributes of the users of the sagemaker domain

Sponsor this project

Contributors 2

  •  
  •