Activation

Deploy your environment and service hostname set versions to either the staging or production network.

resource "akamai_deliverymanager_activation" "my_activation" {
  workspace_name = "my_workspace"
  network        = "AKAMAI_STAGING"
  type           = "ACTIVATE_ENVIRONMENT_AND_HOSTNAME_SETS"
  hostname_sets = [
    {
      hostname_set_name = "my_hostname_set"
      version           = 1
    }
  ]
  environment = {
    environment_name = "development"
    version          = 1
  }
}

Arguments

Provide a name for your workspace, its type, and the network to deploy your environment.

ArgumentRequiredDescription
network✔️Akamai network in which to activate your property. Value is one of: are:
  • AKAMAI_STAGING
  • AKAMAI_PRODUCTION
  • AKAMAI_EPHEMERAL
environment✔️An application or service in a given lifecycle stage, such as development, testing, or production.
  • environment_name. Required. Your workspace's environment name.
  • version. Required. The environment's version number.
type✔️Your activation's scope. Value is one of:
  • ACTIVATE_ENVIRONMENT
  • ACTIVATE_HOSTNAME_SETS
  • ACTIVATE_ENVIRONMENT_AND_HOSTNAME_SETS
  • DEACTIVATE_ENVIRONMENT
  • DEACTIVATE_HOSTNAME_SETS
  • DEACTIVATE_ENVIRONMENT_AND_HOSTNAME_SETS
noteA human-readable statement about the activation.
notify_emailsA list of email addresses notified of the activation status change.
workspace_nameA workspace name.
include_validation_resultsSet to true, include activation validation errors and warnings in the response.
hostname_setsA list of service hostname sets that share the same edge hostname, TLS, and certificate settings.
  • hostname_set_name. Required. A service hostname set name.
  • version. Required. A service hostname set version.

Attributes

Returned to you is your ID and status.

AttributeDescription
activation_idYour activation ID.
activation_statusThe status of your activation. Possible values are:
  • ACCEPTED
  • PENDING
  • PENDING_VALIDATION
  • READY_TO_PROCEED
  • PENDING_FULL_ROLLOUT
  • PENDING_MONITORING

Did this page help you?