-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprovider.tf
More file actions
40 lines (29 loc) · 909 Bytes
/
provider.tf
File metadata and controls
40 lines (29 loc) · 909 Bytes
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
# # -----------------------------------------------------------------------------
# # Provider Requirements if using stack as a module
# # -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Support for multi-region deployments
# -----------------------------------------------------------------------------
data "oci_identity_region_subscriptions" "regions" {
tenancy_id = var.tenancy_id
}
terraform {
required_version = "1.9.0"
required_providers {
oci = {
source = "opentofu/oci"
version = "=6.24.0"
}
}
}
provider "oci" {
tenancy_ocid = var.tenancy_id
user_ocid = var.user_id
region = var.region
}
provider "oci" {
alias = "home_region"
tenancy_ocid = var.tenancy_id
user_ocid = var.user_id
region = var.home_region
}