mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-27 02:00:08 -04:00
Brought metadata code up to spec with GCE API change
This commit is contained in:
@@ -128,7 +128,7 @@ func resourceComputeProjectMetadataRead(d *schema.ResourceData, meta interface{}
|
||||
newMD := make(map[string]interface{})
|
||||
|
||||
for _, kv := range md.Items {
|
||||
newMD[kv.Key] = kv.Value
|
||||
newMD[kv.Key] = *kv.Value
|
||||
}
|
||||
|
||||
if err = d.Set("metadata", newMD); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user