Summary
Ansible collections, such as the AWS collection, offer modules that support managing dynamic infrastructure with an idempotent approach. This ensures playbooks can be run repeatedly while producing consistent results, only adjusting resources when necessary to meet the desired state.
Unlike static infrastructure, where resources are predefined, dynamic infrastructure management often requires a different approach. For example, in Part 2, each network device was explicitly defined in the inventory. However, in this case, the inventory targets Regions, and the resources themselves are dynamically generated as the tasks are executed, as there’s no fixed reference for them.
Throughout the remaining chapters of Part 3, we’ll continue exploring additional dynamic infrastructure providers to build a well-rounded perspective and highlight comparable functionalities across providers.
Unlock this book&... |