WIP autoscaler agent
This commit is contained in:
parent
c610a3e284
commit
28059dcedf
34 changed files with 2409 additions and 35 deletions
11
agent/nix_builder_autoscaler/bootstrap/userdata.py
Normal file
11
agent/nix_builder_autoscaler/bootstrap/userdata.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
"""EC2 user-data template rendering — stub for Plan 02."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def render_userdata(slot_id: str, region: str, ssm_param: str = "/nix-builder/ts-authkey") -> str:
|
||||
"""Render a bash user-data script for builder instance bootstrap.
|
||||
|
||||
Full implementation in Plan 02.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
Loading…
Add table
Add a link
Reference in a new issue