provider/google: Clarify comment about defaults

This commit is contained in:
James Nugent 2016-02-18 08:37:25 -08:00
parent b77bcd64fd
commit b32a863ed3
1 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,11 @@ func resourceComputeNetwork() *schema.Resource {
Type: schema.TypeBool,
Optional: true,
ForceNew: true,
Default: false, // TODO: ideally should be true to match Google's default behaviour, but this causes backward
// compatibility issue with existing terraform configs
/* Ideally this would default to true as per the API, but that would cause
existing Terraform configs which have not been updated to report this as
a change. Perhaps we can bump this for a minor release bump rather than
a point release. */
Default: false,
},
"description": &schema.Schema{