Reorder fields.

This commit is contained in:
Paddy 2018-06-07 18:09:14 -07:00
parent 6d040db9d8
commit 16ab5bb14b

View File

@ -105,15 +105,6 @@ func appEngineResource() *schema.Resource {
return &schema.Resource{ return &schema.Resource{
CustomizeDiff: resourceGoogleProjectAppEngineCustomizeDiff, CustomizeDiff: resourceGoogleProjectAppEngineCustomizeDiff,
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
"url_dispatch_rule": &schema.Schema{
Type: schema.TypeList,
Computed: true,
Elem: appEngineURLDispatchRuleResource(),
},
"auth_domain": &schema.Schema{ "auth_domain": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
@ -137,10 +128,6 @@ func appEngineResource() *schema.Resource {
"australia-southeast1", "australia-southeast1",
}, false), }, false),
}, },
"code_bucket": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
"serving_status": &schema.Schema{ "serving_status": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
@ -152,6 +139,26 @@ func appEngineResource() *schema.Resource {
}, false), }, false),
Computed: true, Computed: true,
}, },
"feature_settings": &schema.Schema{
Type: schema.TypeList,
Optional: true,
Computed: true,
MaxItems: 1,
Elem: appEngineFeatureSettingsResource(),
},
"name": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
"url_dispatch_rule": &schema.Schema{
Type: schema.TypeList,
Computed: true,
Elem: appEngineURLDispatchRuleResource(),
},
"code_bucket": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},
"default_hostname": &schema.Schema{ "default_hostname": &schema.Schema{
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
@ -164,13 +171,6 @@ func appEngineResource() *schema.Resource {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
}, },
"feature_settings": &schema.Schema{
Type: schema.TypeList,
Optional: true,
Computed: true,
MaxItems: 1,
Elem: appEngineFeatureSettingsResource(),
},
}, },
} }
} }