diff --git a/builder/azure/arm/config.go b/builder/azure/arm/config.go index 6a659988b..257049cc1 100644 --- a/builder/azure/arm/config.go +++ b/builder/azure/arm/config.go @@ -529,6 +529,13 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) { provideDefaultValues(c) setRuntimeValues(c) setUserNamePassword(c) + + // copy singular blocks + for _, kv := range c.AzureTag { + v := kv.Value + c.AzureTags[kv.Key] = &v + } + err = c.ClientConfig.SetDefaultValues() if err != nil { return nil, err