foreman_katello_lifecycle_environment

Lifecycle environments group hosts into logical stages, example dev/test/prod.

Example Usage

# Autogenerated example with required keys
data "foreman_katello_lifecycle_environment" "example" {
  name = "Library"
}

Argument Reference

The following arguments are supported:

  • name - (Required) Name of the lifecycle environment.

Attributes Reference

The following attributes are exported:

  • description - Description for the lifecycle environment
  • label - Label for the lifecycle environment. Cannot be changed after creation. By default set to the name, with underscores as spaces replacement.
  • library - Specifies if this environment is the special 'Library' root environment.
  • name - Name of the lifecycle environment.
  • organization_id -
  • prior_id - ID of the prior lifecycle environment. Use '1' to refer to the built-in 'Library' root environment.
  • successor_id -