forked from oracle-devrel/terraform-oci-arch-fn-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
58 lines (45 loc) · 1.19 KB
/
variables.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
54
55
56
57
58
## Copyright (c) 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
variable "tenancy_ocid" {}
variable "user_ocid" {}
variable "fingerprint" {}
variable "private_key_path" {}
variable "compartment_ocid" {}
variable "region" {}
variable "release" {
description = "Reference Architecture Release (OCI Architecture Center)"
default = "1.0.1"
}
variable "bucket" {
default = "bucket"
}
variable "VCN-CIDR" {
default = "10.0.0.0/16"
}
variable "fnsubnet-CIDR" {
default = "10.0.1.0/24"
}
variable "use_existing_vcn" {
default = false
}
variable "vcn_id" {
default = ""
}
variable "fn_subnet_id" {
default = ""
}
variable "ocir_repo_name" {
default = "functions"
}
variable "ocir_user_name" {
default = ""
}
variable "ocir_user_password" {
default = ""
}
# OCIR repo name & namespace
locals {
ocir_docker_repository = join("", [lower(lookup(data.oci_identity_regions.oci_regions.regions[0], "key" )), ".ocir.io"])
#ocir_namespace = lookup(data.oci_identity_tenancy.oci_tenancy, "name" )
ocir_namespace = lookup(data.oci_objectstorage_namespace.test_namespace, "namespace")
}