mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
Mirrors the existing UpdateJobQueue/DeleteJobQueue pair. DeleteComputeEnvironment requires DISABLED state and rejects deletion while still referenced by a job queue's computeEnvironmentOrder, matching AWS; updating computeResources is a partial merge (only the sent fields change), not a full replace. Both UpdateComputeEnvironment and CreateComputeEnvironment now validate state is ENABLED or DISABLED, so an invalid value can never be persisted and later block deletion. CloudFormation stack-delete wiring for AWS::Batch::ComputeEnvironment/ JobQueue/JobDefinition (currently a silent no-op on stack teardown) is left for a follow-up that migrates all of Batch's CFN handling into a per-service provisioner, rather than adding more cases to the legacy switch. Closes #2293, closes #2803.