Previously users were able to build to a Shared Image Gallery without
specifying a primary target region, as it would default to the build
location. This functionality was removed for the target_region block
attribute in hopes that users would be more explicit on which regions to
publish to. However, not having a primary target region breaks the
existing behavior for publishing with no region set.
To avoid further breaking changes support for automatically adding a
default target region is being added back but with a WARNING indicating
that the behavior will change in a future release.
Previously users were able to build to a Shared Image Gallery without specifying a primary target region, as it would default to the build location. This functionality was removed for the
target_region
block attribute in hopes that users would be more explicit on which regions to publish to. However, not having a primary target region breaks the existing behavior for publishing with no region set.To avoid further breaking changes support for automatically adding a default target region is being added back but with a WARNING indicating that the behavior will change in a future release.