Skip to content

Commit fed0d73

Browse files
Check for fields that are needed for the read URL explicitly (#14146) (#23085)
[upstream:73830a6b51a8f45e1b09c6f9ce134377b061e432] Signed-off-by: Modular Magician <[email protected]>
1 parent cc248f9 commit fed0d73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google/services/publicca/resource_public_ca_external_account_key.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,8 @@ func resourcePublicCAExternalAccountKeyPostCreateSetComputedFields(d *schema.Res
204204
if err := d.Set("name", flattenPublicCAExternalAccountKeyName(res["name"], d, config)); err != nil {
205205
return fmt.Errorf(`Error setting computed identity field "name": %s`, err)
206206
}
207+
if err := d.Set("key_id", flattenPublicCAExternalAccountKeyKeyId(res["keyId"], d, config)); err != nil {
208+
return fmt.Errorf(`Error setting computed identity field "key_id": %s`, err)
209+
}
207210
return nil
208211
}

0 commit comments

Comments
 (0)