GeistHaus
log in · sign up

IaC and Abstraction

pid1.dev

Note I will refer to OpenTofu but unless otherwise specified, everything applies to Terrraform as well. OpenTofu recently released 1.9.0 with provider for_each support, also known as dynamic provider configuration. This is actually a pretty old request. The original ticket is from 2019, before even version 1.0.0 of Terraform was released. A provider is a library that enables Tofu to interact with services. They cover everything from the major cloud providers to services like PagerDuty. To use a provider, you instantiate it with a configuration. The issue is they cannot be referenced through variables, which means the Tofu code can become very repetitive. Dynamic provider configuration addresses this limitation.

0 pages link to this URL

No pages have linked to this URL yet.