Configures an AWS Evidently Launch resource with multiple groups and multiple steps in the scheduled split.

Terraform Template

resource "aws_evidently_launch" "example" {

  groups {
    feature = "aws_evidently_feature.example.name"
    name = "Variation1"
    variation = "Variation1"
  }

  groups {
    feature = "aws_evidently_feature.example.name"
    name = "Variation2"
    variation = "Variation2"
  }
  name = "example"
  project = "aws_evidently_project.example.name"

  scheduled_splits_config {

    steps {

      group_weights = {
        Variation1 = 15
        Variation2 = 10
      }
      start_time = "2024-01-07 01:43:59+00:00"
    }

    steps {

      group_weights = {
        Variation1 = 20
        Variation2 = 25
      }
      start_time = "2024-01-08 01:43:59+00:00"
    }
  }
}