Remove redundant &schema.Schema in schema map (#1377)

This commit is contained in:
The Magician 2018-04-24 16:39:20 -07:00 committed by Vincent Roseberry
parent 0d309b1e56
commit 71df52d1aa
4 changed files with 8 additions and 8 deletions

View File

@ -63,13 +63,13 @@ func resourceComputeBackendBucket() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"project": &schema.Schema{
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"self_link": &schema.Schema{
"self_link": {
Type: schema.TypeString,
Computed: true,
},

View File

@ -89,13 +89,13 @@ func resourceComputeHttpHealthCheck() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"project": &schema.Schema{
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"self_link": &schema.Schema{
"self_link": {
Type: schema.TypeString,
Computed: true,
},

View File

@ -89,13 +89,13 @@ func resourceComputeHttpsHealthCheck() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"project": &schema.Schema{
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"self_link": &schema.Schema{
"self_link": {
Type: schema.TypeString,
Computed: true,
},

View File

@ -79,13 +79,13 @@ func resourceComputeTargetSslProxy() *schema.Resource {
Type: schema.TypeInt,
Computed: true,
},
"project": &schema.Schema{
"project": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
},
"self_link": &schema.Schema{
"self_link": {
Type: schema.TypeString,
Computed: true,
},