Skip to main content

conveyor_ide_base_image (Resource)

IDE base image resource

Example Usage​

resource "conveyor_ide_base_image" "my_image" {
name = "my image"
description = "My custom base ide image"
iam_identity = "my-base-image-role"
config = {
vscode_config = {
extensions = ["test_extension"]
}
build_steps = [
{
name = "step1"
cmd = "command one"
}
]
}
}

Schema​

Required​

  • config (Attributes) The configuration that defines this IDE base image (see below for nested schema)
  • name (String) The name of the IDE base image

Optional​

  • based_on (String) The base image that this IDE base image is based on. Valid values: 22.04, 24.04.
  • description (String) The description of the IDE base image
  • iam_identity (String) The iam identity of the IDE base image

Read-Only​

  • id (String) The id of the IDE base image

Nested Schema for config​

Optional:

Nested Schema for config.build_steps​

Required:

  • cmd (String) The command that needs to be executed. Can contain multiple commands, separated by newlines.
  • name (String) The name of the build step

Nested Schema for config.vscode_config​

Required:

  • extensions (List of String) Enable user specific extensions