Set Terraform Resource properties from an element in a list retrieved by a Data Source – using a local value

Lucas Jellema

Terraform is a platform for implementing Infrastructure as Code. Terraform defines a syntax for describing resources and provides an engine that interprets the resources definitions, compares this desired state with the existing state in the destination environment and subsequently attempts to bring the destination in line with the desired state. […]