Stack configuration, configuration management and infrastructure testing
A stack is a set of infrastructure resources, e.g. an Virtual Machine, Network and Database ; or a Network Interface, A Virtual Harddrive and a Network Share . These are my reflections, lessons learned and brief summary of chapters 7 and 8 of Infrastructure as Code and is part of the Infrastructure as Code series . When you configure a stack, keep parameters simple. If you find that you need an advanced set of parameters - or you find yourself introducing branching logic - make a new, more specialized, stack. When naming resources in your stack, consider using a combination of a static and dynamic name, like app-service- ENVIRONMENT . If you are working with resource managers where you can generate a unique ID, consider generating a unique ID for a root object and then use that ID as a suffix. See this article for more information . When transitioning into the world of stack configuration, keep non-secret configuration in source control (as opposed manually typing it in, or passing it