File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
feature_store/apigw_terraform Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module "feature_store_networking" {
2727
2828module "function" {
2929 source = " ./modules/function"
30+ tenancy_id = var. tenancy_ocid
3031 authorized_groups = var. authorized_user_groups
3132 compartment_id = local. compartment_id
3233 ocir_path = var. function_img_ocir_url
Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ variable "authorized_groups" {
1717variable "name_suffix" {
1818 type = string
1919}
20+
21+ variable "tenancy_id" {
22+ type = string
23+ }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ data "oci_identity_compartment" "compartment" {
99
1010
1111resource "oci_identity_dynamic_group" "functions_dg" {
12- compartment_id = " ocid1.tenancy.oc1..aaaaaaaa462hfhplpx652b32ix62xrdijppq2c7okwcqjlgrbknhgtj2kofa "
12+ compartment_id = var . tenancy_id
1313 description = " FEATURESTORE: Allow Oci functions to inspect identity"
1414 matching_rule = " All {resource.type = 'fnfunc', resource.id = '${ oci_functions_function . test_function . id } '}"
1515 name = " Feature_Store_Authorizer_${ var . name_suffix } "
You can’t perform that action at this time.
0 commit comments