mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-12 07:01:03 -04:00
The existing "tag" field on autoscaling groups is very limited in that it cannot be used in conjunction with interpolation preventing from adding dynamic tag entries. Other AWS resources don't have this restriction on tags because they work directly on the map type. AWS autoscaling groups on the other hand have an additional field "propagate_at_launch" which is not usable with a pure map type. This fixes it by introducing an additional field called "tags" which allows specifying a list of maps. This preserves the possibility to declare tags as with the "tag" field but additionally allows to construct lists of maps using interpolation syntax.