-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdatasource.tf
53 lines (44 loc) · 1.3 KB
/
datasource.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
data "oci_core_images" "ubuntu20_aarch64" {
compartment_id = local.compartment_id
operating_system = "Canonical Ubuntu"
sort_by = "TIMECREATED"
filter {
name = "display_name"
values = ["^Canonical-Ubuntu-20.04-aarch64-([\\.0-9-]+)$"]
regex = true
}
}
data "oci_core_images" "ubuntu22_aarch64" {
compartment_id = local.compartment_id
operating_system = "Canonical Ubuntu"
sort_by = "TIMECREATED"
filter {
name = "display_name"
values = ["^Canonical-Ubuntu-22.04-aarch64-([\\.0-9-]+)$"]
regex = true
}
}
# data "oci_core_images" "ubuntu24_aarch64" {
# compartment_id = local.compartment_id
# operating_system = "Canonical Ubuntu"
# sort_by = "TIMECREATED"
# filter {
# name = "display_name"
# values = ["^Canonical-Ubuntu-24.04-aarch64-([\\.0-9-]+)$"]
# regex = true
# }
# }
data "oci_core_images" "oraclelinux9_aarch64" {
compartment_id = local.compartment_id
operating_system = "Oracle Linux"
sort_by = "TIMECREATED"
filter {
name = "display_name"
values = ["^Oracle-Linux-9\\.[0-9]+-aarch64-[0-9]{4}\\.[0-9]{2}\\.[0-9]{2}-0$"]
regex = true
}
}
data "oci_identity_availability_domains" "ADs" {
compartment_id = local.compartment_id
}
data "oci_identity_regions" "regions" {}