mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-01 07:42:40 +00:00
Do not read or flatten url_param_only properties in Terraform (#3571)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
0a667ddfe7
commit
5a9891c219
|
@ -232,9 +232,6 @@ func resourceFilestoreInstanceRead(d *schema.ResourceData, meta interface{}) err
|
|||
return fmt.Errorf("Error reading Instance: %s", err)
|
||||
}
|
||||
|
||||
if err := d.Set("name", flattenFilestoreInstanceName(res["name"], d)); err != nil {
|
||||
return fmt.Errorf("Error reading Instance: %s", err)
|
||||
}
|
||||
if err := d.Set("description", flattenFilestoreInstanceDescription(res["description"], d)); err != nil {
|
||||
return fmt.Errorf("Error reading Instance: %s", err)
|
||||
}
|
||||
|
@ -378,13 +375,6 @@ func resourceFilestoreInstanceImport(d *schema.ResourceData, meta interface{}) (
|
|||
return []*schema.ResourceData{d}, nil
|
||||
}
|
||||
|
||||
func flattenFilestoreInstanceName(v interface{}, d *schema.ResourceData) interface{} {
|
||||
if v == nil {
|
||||
return v
|
||||
}
|
||||
return NameFromSelfLinkStateFunc(v)
|
||||
}
|
||||
|
||||
func flattenFilestoreInstanceDescription(v interface{}, d *schema.ResourceData) interface{} {
|
||||
return v
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user