Infrastructure-as-Code Patterns Adapted for Agents