Skip to content

Commit

Permalink
Fix: inconsistent plan on the first apply when trying to create ssh_k…
Browse files Browse the repository at this point in the history
…eys (#774)
  • Loading branch information
TomerHeber authored Dec 25, 2023
1 parent e3c2d25 commit 7ad25a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions env0/data_sshkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
},
Expand Down

0 comments on commit 7ad25a2

Please sign in to comment.