Closed njuCZ closed 4 years ago
using file: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
it generates terraform codes like this
name := d.Get("name").(string) resourceGroup := d.Get("resource_group").(string) configServerProperties := d.Get("config_server_properties").([]interface{}) trace := d.Get("trace").([]interface{}) t := d.Get("tags").(map[string]interface{}) resource := appplatform.ServiceResource{ Location: utils.String(location), ...... }
however, the location variable is not declared
location
using file: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json
it generates terraform codes like this
however, the
location
variable is not declared