forked from apooniajjn/oci-arch-wordpress-mds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
datasources.tf
51 lines (42 loc) · 1.32 KB
/
datasources.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
## Copyright © 2020, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
data "oci_core_images" "InstanceImageOCID" {
compartment_id = var.compartment_ocid
operating_system = var.instance_os
operating_system_version = var.linux_os_version
shape = var.node_shape
filter {
name = "display_name"
values = ["^.*Oracle[^G]*$"]
regex = true
}
}
data "oci_core_images" "InstanceImageOCID2" {
compartment_id = var.compartment_ocid
operating_system = var.instance_os
operating_system_version = var.linux_os_version
shape = var.bastion_shape
filter {
name = "display_name"
values = ["^.*Oracle[^G]*$"]
regex = true
}
}
data "oci_mysql_mysql_configurations" "shape" {
compartment_id = var.compartment_ocid
type = ["DEFAULT"]
shape_name = var.mysql_shape
}
data "oci_identity_region_subscriptions" "home_region_subscriptions" {
tenancy_id = var.tenancy_ocid
filter {
name = "is_home_region"
values = [true]
}
}
data "oci_core_instances" "wordpress_instances" {
compartment_id = var.compartment_ocid
}
data "oci_identity_availability_domains" "ADs" {
compartment_id = var.tenancy_ocid
}