Environment

Get information about an environment.

data "akamai_deliverymanager_environment" "my_environment" {
  workspace_name   = "my_workspace"
  environment_name = "my_environment_name"
}
my_environment = {
  actions                   = [
    "EDIT",
    "DELETE",
    "DEVELOPMENT_ACTIVATE",
    "STAGING_ACTIVATE",
    "RULES_ADD",
    "DEVELOPMENT_ADD",
  ]
  active_ephemeral_version  = null
  active_production_version = null
  active_staging_version    = null
  additional_group_ids      = null
  created_time              = "2026-06-22T17:37:59Z"
  description               = "Testing environment"
  display_name              = "DXE testing"
  environment_name          = "dxe-testing"
  file_id                   = "123456789"
  latest_version            = null
  modified_time             = "2026-06-22T17:37:59Z"
  profile                   = {
          use_case = "DEV_TEST"
        }
  tags                      = null
  workspace_name            = "my_workspace"
}

Arguments

Pass your workspace and environment names to get the environment's details.

ArgumentRequiredDescription
workspace_name✔️A workspace name.
environment_name✔️Your workspace's environment name.

Attributes

Returned to you are details about your environments and their settings.

AttributeDescription
active ephemeral_versionThe version of the ephemeral environment active on the staging network.
active_production_versionThe version of an environment currently active on the production network and serving live traffic for your application or service.
active_staging_versionThe version of an environment currently active on the staging network.
actionsKeywords that describe Delivery Manager user actions on the related resource, mapping button and action enablement. Possible values are:
  • WORKSPACE_ADD
  • ORIGIN_ADD
  • DEVELOPMENT_ADD PRODUCTION_ADD
  • SHARED_RULES_ADD
  • HO
  • TS_ADD RULES_ADD
  • WORKSPACE_VIEW
  • ORIGIN_VIEW
  • SHARED_RULES_VIEW
  • EDIT
  • DELETE
  • PRODUCTION_ACTIVATE
  • STAGING_ACTIVATE
  • DEVELOPMENT_ACTIVATE
additional_group_idsLists all group assignments for a workspace.
descriptionA human-readable statement about your custom rule set.
display_nameThe name shown in Control Center for your workspace.
latest_versionThe most recent version of your environment.
tagsKeywords that describe resources for filtering, searching, and discovery.
created_timeThe timestamp indicating when the environment was created.
file_idThe ID of the file deployed to the CDN.
modified_timeThe timestamp indicating when the environment was last modified.
profileThe environment's settings. Contains:
  • use_case. The determiner for an environment's default settings. Possible values are:
    • PRODUCTION. An environment serving live traffic with access to staging and production networks.
    • DEV_TEST. A development environment.


Did this page help you?