Resource: aws_appconfig_deployment

Provides an AppConfig Deployment resource for an aws_appconfig_application resource.

Example Usage

resource "aws_appconfig_deployment" "example" {
  application_id           = aws_appconfig_application.example.id
  configuration_profile_id = aws_appconfig_configuration_profile.example.configuration_profile_id
  configuration_version    = aws_appconfig_hosted_configuration_version.example.version_number
  deployment_strategy_id   = aws_appconfig_deployment_strategy.example.id
  description              = "My example deployment"
  environment_id           = aws_appconfig_environment.example.environment_id
  kms_key_identifier       = aws_kms_key.example.arn

  tags = {
    Type = "AppConfig Deployment"
  }
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import AppConfig Deployments using the application ID, environment ID, and deployment number separated by a slash (/). For example:

import {
  to = aws_appconfig_deployment.example
  id = "71abcde/11xxxxx/1"
}

Using terraform import, import AppConfig Deployments using the application ID, environment ID, and deployment number separated by a slash (/). For example:

% terraform import aws_appconfig_deployment.example 71abcde/11xxxxx/1