Store region name only for vpn gateway (#1431)

This commit is contained in:
Vincent Roseberry 2018-05-03 17:44:36 -07:00 committed by GitHub
parent b674e39a7f
commit 1567ac0879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,4 @@
// ----------------------------------------------------------------------------
//
// *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
//
// ----------------------------------------------------------------------------
//
// This file is automatically generated by Magic Modules and manual
// changes will be clobbered when the file is regenerated.
//
// Please read more about how to change this file in
// .github/CONTRIBUTING.md.
//
// ----------------------------------------------------------------------------
// TODO(https://github.com/GoogleCloudPlatform/magic-modules/issues/156): Re-enable code generation for this resource
package google
import (
@ -259,7 +246,7 @@ func flattenComputeVpnGatewayNetwork(v interface{}) interface{} {
}
func flattenComputeVpnGatewayRegion(v interface{}) interface{} {
return v
return NameFromSelfLinkStateFunc(v)
}
func expandComputeVpnGatewayDescription(v interface{}, d *schema.ResourceData, config *Config) (interface{}, error) {