Skip to content

Add infra.autoscaling_group resource type — blocker for workflow#653 Phase 1 #9

Description

@intel352

Blocker for workflow#653 Phase 1 — force-cutover of module/platform_autoscaling.go (485 LOC) from workflow core to this plugin.

Current state

Plugin v0.1.0 exposes 13 infra.* capabilities (container_service, k8s_cluster, database, cache, vpc, load_balancer, dns, registry, api_gateway, firewall, iam_role, storage, certificate). No autoscaling_group driver exists.

Core's module/platform_autoscaling.go wraps applicationautoscaling.Client for ECS service / DynamoDB / RDS / EBS scaling targets and policies. Source: https://github.com/GoCodeAlone/workflow/blob/main/module/platform_autoscaling.go

Ask

Add an infra.autoscaling_group driver (or equivalent — name negotiable) covering at minimum:

  • Register scalable target (RegisterScalableTarget)
  • Put scaling policy (PutScalingPolicy)
  • Describe scaling activities (DescribeScalingActivities)
  • Delete scalable target on destroy

Once present, workflow#653 Phase 1 can force-cutover the 8 in-scope files (~3150 LOC) following the #617 pattern.

Pattern

Mirror existing drivers/eks.go / drivers/rds.go / drivers/alb.go shape. Plugin manifest capabilities list adds "infra.autoscaling_group".

Filed as part of post-#617 autonomous AWS audit. 🤖

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions