diff --git a/env0/data_sshkey.go b/env0/data_sshkey.go index 0b32d0cb..528506a6 100644 --- a/env0/data_sshkey.go +++ b/env0/data_sshkey.go @@ -18,12 +18,14 @@ func dataSshKey() *schema.Resource { Type: schema.TypeString, Description: "the name of the ssh key", Optional: true, + Computed: true, ExactlyOneOf: []string{"name", "id"}, }, "id": { Type: schema.TypeString, Description: "id of the ssh key", Optional: true, + Computed: true, ExactlyOneOf: []string{"name", "id"}, }, },