Leveraging Infrastructure as Code for Resource Management