Configures an AWS Evidently feature with multiple variations and specifies a default variation.

Terraform Template

resource "aws_evidently_feature" "example" {
  default_variation = "Variation2"
  name = "example"
  project = "aws_evidently_project.example.name"

  variations {
    name = "Variation1"

    value {
      string_value = "exampleval1"
    }
  }

  variations {
    name = "Variation2"

    value {
      string_value = "exampleval2"
    }
  }
}