Resource: aws_sagemaker_studio_lifecycle_config

Provides a SageMaker Studio Lifecycle Config resource.

Example Usage

Basic usage

resource "aws_sagemaker_studio_lifecycle_config" "example" {
  studio_lifecycle_config_name     = "example"
  studio_lifecycle_config_app_type = "JupyterServer"
  studio_lifecycle_config_content  = base64encode("echo Hello")
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import SageMaker Studio Lifecycle Configs using the studio_lifecycle_config_name. For example:

import {
  to = aws_sagemaker_studio_lifecycle_config.example
  id = "example"
}

Using terraform import, import SageMaker Studio Lifecycle Configs using the studio_lifecycle_config_name. For example:

% terraform import aws_sagemaker_studio_lifecycle_config.example example