-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.tf
19 lines (18 loc) · 759 Bytes
/
data.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# # ---------------------------------------------------------------------------------------------------------------------#
# Get ssh public key for manager
# # ---------------------------------------------------------------------------------------------------------------------#
data "digitalocean_ssh_keys" "manager" {
filter {
key = "name"
values = ["manager"]
}
}
# # ---------------------------------------------------------------------------------------------------------------------#
# Get ssh public key for admin
# # ---------------------------------------------------------------------------------------------------------------------#
data "digitalocean_ssh_keys" "admin" {
filter {
key = "name"
values = ["admin"]
}
}