You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
policies=["allow any-user to use functions-family in tenancy where ALL {request.principal.type='ApiGateway'}"]
9
+
policies=["allow any-user to use functions-family in compartment ${data.oci_identity_compartment.compartment1.name} where ALL {request.principal.type='ApiGateway'}"]
10
10
11
11
}
12
12
13
+
data"oci_identity_compartment""compartment1" {
14
+
id=var.compartment_id
15
+
}
16
+
13
17
resourceoci_apigateway_apispecs {
14
18
display_name="Feature Store API spec"
15
19
compartment_id=var.compartment_id
@@ -46,7 +50,9 @@ data "oci_network_load_balancer_network_load_balancer" "nlb"{
description="Network load balancer ocid for the resource created after deploying feature store helm chart "
2
3
type=string
3
4
}
4
5
6
+
variable"use_nlb_compartment" {
7
+
description="Uses network load balancer compartment for the stack deployment. If false, compartment id must be provided in 'compartment_id'"
8
+
type=bool
9
+
default=true
10
+
}
11
+
12
+
variable"automatically_provision_apigw_subnet" {
13
+
description="Creates a new Subnet. If false, the subnet ocid to use for api gateway must be provided"
14
+
type=bool
15
+
default=true
16
+
}
17
+
18
+
variable"api_gw_subnet_id" {
19
+
description="Subnet Id for api gateway. Leave blank to automatically provision a subnet"
20
+
type=string
21
+
default=""
22
+
}
23
+
5
24
variableauthorized_user_groups {
25
+
description="User group OCIDs authorized to access feature store environment"
6
26
type=list(string)
7
27
}
8
28
9
29
variablefunction_img_ocir_url {
30
+
description="OCIR URL of the authorizer image exported from feature store marketplace listing"
10
31
type=string
11
32
}
12
33
13
34
variable"tenancy_ocid" {
14
35
type=string
36
+
description="OCID of the tenancy where the stack needs to be deployed"
37
+
}
38
+
39
+
variable"compartment_id" {
40
+
type=string
41
+
description="OCID of the compartment where the stack needs to be deployed"
42
+
default=""
15
43
}
16
44
17
45
variable"region" {
46
+
description="Region in which the resources are to be provisioned"
18
47
type=string
48
+
default="us-ashburn-1"
49
+
}
50
+
51
+
variable"create_security_rules" {
52
+
description="Should we automatically create required security groups for node and load balancer subnet? Note: These need be manually attached to the respective subnets once the stack is provisioned"
0 commit comments