Resource: aws_sagemaker_app_image_config

Provides a SageMaker App Image Config resource.

Example Usage

Basic usage

resource "aws_sagemaker_app_image_config" "test" {
  app_image_config_name = "example"

  kernel_gateway_image_config {
    kernel_spec {
      name = "example"
    }
  }
}

Default File System Config

resource "aws_sagemaker_app_image_config" "test" {
  app_image_config_name = "example"

  kernel_gateway_image_config {
    kernel_spec {
      name = "example"
    }

    file_system_config {}
  }
}

Argument Reference

This resource supports the following arguments:

Code Editor App Image Config

Jupyter Lab Image Config

Container Config

Kernel Gateway Image Config

File System Config

Kernel Spec

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 App Image Configs using the name. For example:

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

Using terraform import, import SageMaker App Image Configs using the name. For example:

% terraform import aws_sagemaker_app_image_config.example example