Resource: aws_appconfig_configuration_profile

Provides an AppConfig Configuration Profile resource.

Example Usage

resource "aws_appconfig_configuration_profile" "example" {
  application_id = aws_appconfig_application.example.id
  description    = "Example Configuration Profile"
  name           = "example-configuration-profile-tf"
  location_uri   = "hosted"

  validator {
    content = aws_lambda_function.example.arn
    type    = "LAMBDA"
  }

  tags = {
    Type = "AppConfig Configuration Profile"
  }
}

Argument Reference

This resource supports the following arguments:

Validator

The validator block supports the following:

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 Configuration Profiles using the configuration profile ID and application ID separated by a colon (:). For example:

import {
  to = aws_appconfig_configuration_profile.example
  id = "71abcde:11xxxxx"
}

Using terraform import, import AppConfig Configuration Profiles using the configuration profile ID and application ID separated by a colon (:). For example:

% terraform import aws_appconfig_configuration_profile.example 71abcde:11xxxxx