Creates an AWS AppConfig configuration profile with a lambda validator.

Terraform Template

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

  tags = {
    Type = "AppConfig Configuration Profile"
  }

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