upgrade SIG source api-version to match identity api-version to avoid potential setback for identity

This commit is contained in:
Feiyu Shi 2020-05-26 16:08:00 -07:00
parent 79ac5bb4a4
commit c016f3752a
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ func (s *TemplateBuilder) SetSharedGalleryImage(location, imageID string, cachin
return err
}
s.setVariable("apiVersion", "2018-04-01") // Required for Shared Image Gallery
s.setVariable("apiVersion", "2018-06-01") // Required for Shared Image Gallery
profile := resource.Properties.StorageProfile
profile.ImageReference = &compute.ImageReference{ID: &imageID}
profile.OsDisk.OsType = s.osType

View File

@ -157,7 +157,7 @@
],
"variables": {
"addressPrefix": "10.0.0.0/16",
"apiVersion": "2018-04-01",
"apiVersion": "2018-06-01",
"location": "[resourceGroup().location]",
"managedDiskApiVersion": "2017-03-30",
"networkInterfacesApiVersion": "2017-04-01",