add correct api-version
This commit is contained in:
parent
f7f033a7fd
commit
764f99ec7b
|
@ -112,6 +112,7 @@ func (s *TemplateBuilder) SetIdentity(userAssignedManagedIdentities []string) er
|
|||
var id *Identity
|
||||
|
||||
if len(userAssignedManagedIdentities) != 0 {
|
||||
s.setVariable("apiVersion", "2018-06-01") // Required for user assigned managed identity
|
||||
id = &Identity{
|
||||
Type: to.StringPtr("UserAssigned"),
|
||||
UserAssignedIdentities: make(map[string]*UserAssignedIdentitiesValue),
|
||||
|
|
Loading…
Reference in New Issue