package console import ( "context" "github.com/carlosframework/platform/internal/hostactors" "github.com/carlosframework/platform/internal/hostactors/awsmembership" ) // consoleMembershipReader is the enrollment pass's membership read (region // HA spec 2 §5 step 5, H28, §25): the AWS adapter, over the console's own // instance role, which 2c grants autoscaling:DescribeAutoScalingInstances // and ec2:DescribeInstances, read-only, in the deployment's AWS regions. func consoleMembershipReader(ctx context.Context) (hostactors.MembershipReader, error) { return awsmembership.New(ctx) }