1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-provider-melange synced 2026-07-22 07:40:09 +00:00
terraform-provider-melange/docs/resources/build.md
Jason Hall e19794f746
upload logs, go generate
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-10-01 00:03:39 -04:00

5 KiB

page_title subcategory description
melange_build Resource - terraform-provider-melange Example resource

melange_build (Resource)

Example resource

Schema

Required

  • config (Object) Parsed melange config (see below for nested schema)
  • config_contents (String) The raw contents of the melange configuration.

Optional

  • force_update (Boolean) Force a rebuild of the package, even if it already exists.

Read-Only

  • id (String) Identifier of the resource

Nested Schema for config

Required:

Nested Schema for config.environment

Required:

Nested Schema for config.environment.accounts

Required:

Nested Schema for config.environment.accounts.users

Required:

  • gid (Number)
  • groupname (String)
  • members (List of String)

Nested Schema for config.environment.accounts.users

Required:

  • gid (Number)
  • uid (Number)
  • username (String)

Nested Schema for config.environment.contents

Required:

  • keyring (List of String)
  • packages (List of String)
  • repositories (List of String)

Nested Schema for config.environment.entrypoint

Required:

  • command (String)
  • services (Map of String)
  • shell-fragment (String)
  • type (String)

Nested Schema for config.environment.options

Required:

Nested Schema for config.environment.options.environment

Required:

  • run-as (String)

Nested Schema for config.environment.options.environment

Required:

Nested Schema for config.environment.options.environment.packages

Required:

  • add (List of String)
  • remove (List of String)

Nested Schema for config.environment.options.environment

Required:

  • command (String)
  • services (Map of String)
  • shell-fragment (String)
  • type (String)

Nested Schema for config.environment.os-release

Required:

  • bug-report-url (String)
  • home-url (String)
  • id (String)
  • name (String)
  • pretty-name (String)
  • version-id (String)

Nested Schema for config.environment.paths

Required:

  • gid (Number)
  • path (String)
  • permissions (Number)
  • recursive (Boolean)
  • source (String)
  • type (String)
  • uid (Number)

Nested Schema for config.package

Required:

  • epoch (Number)
  • name (String)
  • version (String)