Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CloudWatch Evidently #22624

Closed
michimani opened this issue Jan 17, 2022 · 2 comments
Closed

Support CloudWatch Evidently #22624

michimani opened this issue Jan 17, 2022 · 2 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/evidently Issues and PRs that pertain to the evidently service. stale Old or inactive issues managed by automation, if no further action taken these will get closed.

Comments

@michimani
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Define and manage the resources associated with CloudWatch Evidently.
I want to be able to change the ratio of each variation, the start time of the launch, etc. flexibly, so I want to be able to ignore changes made in the management console, etc. using igunore_changes.

New or Affected Resource(s)

  • aws_evidently_project
  • aws_evidently_feature
  • aws_evidently_launch
  • aws_evidently_experimental

Potential Terraform Configuration

resource "aws_evidently_project" "evidently_project" {
  name        = "project-name"
  description = "project description"
}

resource "aws_evidently_feature" "evidently_feature" {
  name              = "feature-name"
  description       = "feature description"
  project           = evidently_project.arn
  default_variation = "variation-default"

  variations {
    variation {
      variation_name = "variation-default"
      string_value   = "white"
    }

    variation {
      variation_name = "variation-red"
      string_value   = "red"
    }

    variation {
      variation_name = "variation-green"
      string_value   = "green"
    }

    variation {
      variation_name = "variation-blue"
      string_value   = "blue"
    }

    variation {
      variation_name = "variation-rainbow"
      string_value   = "rainbow"
    }
  }

  entity_overrides {
    entity_override {
      entity_id = "rainbow"
      variation = "variation-rainbow"
    }
  }

  evaluation_strategy = "ALL_RULES"
}

resource "aws_evidently_launch" "evidently_launch" {
  name        = "launch-name"
  description = "launch description"
  project     = evidently_project.arn

  groups {
    launch_group {
      group_name  = "red-group-name"
      description = "red group description"
      feature     = evidently_feature.arn
      variation   = "variation-red"
    }

    launch_group {
      group_name  = "green-group-name"
      description = "green group description"
      feature     = evidently_feature.arn
      variation   = "variation-green"
    }

    launch_group {
      group_name  = "blue-group-name"
      description = "blue group description"
      feature     = evidently_feature.arn
      variation   = "variation-blue"
    }

    launch_group {
      group_name  = "rainbow-group-name"
      description = "rainbow group description"
      feature     = evidently_feature.arn
      variation   = "variation-rainbow"
    }
  }

  scheduled_splits_config {
    step_config {
      start_time = "2025-11-25T23:59:59Z"

      group_weights {
        group_to_weight {
          group_name   = "red-group-name"
          split_weight = 30000
        }

        group_to_weight {
          group_name   = "green-group-name"
          split_weight = 30000
        }

        group_to_weight {
          group_name   = "blue-group-name"
          split_weight = 30000
        }

        group_to_weight {
          group_name   = "rainbow-group-name"
          split_weight = 10000
        }
      }
    }
  }

  lifecycle {
    ignore_changes = [
      scheduled_splits_config
    ]
  }
}

References

@michimani michimani added the enhancement Requests to existing resources that expand the functionality or scope. label Jan 17, 2022
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jan 17, 2022
@DrFaust92 DrFaust92 added new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 17, 2022
@DrFaust92 DrFaust92 added the service/evidently Issues and PRs that pertain to the evidently service. label Jun 18, 2022
Copy link

github-actions bot commented Jun 8, 2024

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

@github-actions github-actions bot added the stale Old or inactive issues managed by automation, if no further action taken these will get closed. label Jun 8, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/evidently Issues and PRs that pertain to the evidently service. stale Old or inactive issues managed by automation, if no further action taken these will get closed.
Projects
None yet
Development

No branches or pull requests

2 participants