Difference between revisions of "Terraform: dynamic blocks"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
== Example ==
 
== Example ==
 
   dynamic "parameter" {
 
   dynamic "parameter" {
     for_each = var.parameters
+
     [[for_each]] = var.parameters
 
     content {
 
     content {
 
       name        = parameter.value.name
 
       name        = parameter.value.name

Revision as of 15:55, 12 January 2023

Advertising: