Log in to your harness - The Modern Software Delivery Platform® account to give feedback

Feature Requests

Anonymous

Feature Requests for Harness. Select 'Category' based on the module you are requesting the feature for.
Unable to adjust the schedules priority order inside as rule using terraform. we can only adjust using manually.
Hi Team, Unable to adjust the schedules priority order inside as rule using terraform. we can only adjust using manually. We need support to set the order priority of scheduled inside a rule as well. Sample terraform code rule with 4 schedules. these 4 schedules are added randomly. Please refer attached tf file for used terraform code for rule with 4 schedules without priority. resource "harness_autostopping_rule_vm" "aws_vm" { name = "cpms-aws-ec2-01-us-work-hours1" cloud_connector_id = var.cloud _connector_id idle_time_mins = 5 filter { vm_ids = [ "i-xxx" ] regions = [ "us-east-2" ] } dry_run = false } Priorities test resource "harness_autostopping_schedule" "MondayThroughFridayUptimeFrom9amTo6pm_vm" { name = "MondayThroughFridayUptimeFrom9amTo6pm_vm" schedule_type = "uptime" time_zone = "EST" starting_from = "2025-01-02 15:04:05" repeats { days = ["MON", "TUE", "WED", "THU", "FRI"] start_time = "21:46" end_time = "22:00" } rules = concat([ harness_autostopping_rule_ vm.aws _ vm.id harness_autostopping_rule_ rds.aws _ rds.id , harness_autostopping_rule_scale_ group.aws _ asg.id ]) } resource "harness_autostopping_schedule" "twopmto3pmDowntimeOnWeekDays" { name = "twopmto3pmDowntimeOnWeekDays_2" schedule_type = "downtime" time_zone = "EST" starting_from = "2025-01-02 15:04:05" repeats { days = ["MON", "TUE", "WED", "THU", "FRI"] start_time = "14:01" end_time = "15:00" } rules = concat([ harness_autostopping_rule_ vm.aws _ vm.id harness_autostopping_rule_ rds.aws _ rds.id , harness_autostopping_rule_scale_ group.aws _ asg.id ]) } resource "harness_autostopping_schedule" "OverNightDowntimeOnWeekDays" { name = "OverNightDowntimeOnWeekDays_3" schedule_type = "downtime" time_zone = "EST" starting_from = "2026-01-02 15:04:05" repeats { days = ["MON", "TUE", "WED", "THU", "FRI"] start_time = "17:02" end_time = "18:00" } rules = concat([ harness_autostopping_rule_ vm.aws _ vm.id harness_autostopping_rule_ rds.aws _ rds.id , harness_autostopping_rule_scale_ group.aws _ asg.id ]) } resource "harness_autostopping_schedule" "CompleteDownTimeOnWeekEnd" { name = "CompleteDownTimeOnWeekEnd_4" schedule_type = "downtime" time_zone = "EST" starting_from = "2025-01-03 15:04:05" repeats { days = ["SUN", "SAT"] } rules = concat([ harness_autostopping_rule_ vm.aws _ vm.id harness_autostopping_rule_ rds.aws _ rds.id , harness_autostopping_rule_scale_ group.aws _ asg.id ]) }
0
·
General Platform Requests
Load More