Skip to content

Commit cf76e3d

Browse files
committed
fix duplicate compartment
1 parent 3340e09 commit cf76e3d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

feature_store/apigw_terraform/modules/function/main.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ locals {
33
policies = ["allow dynamic-group ${oci_identity_dynamic_group.functions_dg.name} to {AUTHENTICATION_INSPECT,GROUP_MEMBERSHIP_INSPECT} in tenancy"]
44
}
55

6-
data "oci_identity_compartment" "compartment" {
7-
id = var.compartment_id
8-
}
9-
10-
116
resource "oci_identity_dynamic_group" "functions_dg" {
127
compartment_id = var.tenancy_id
138
description = "FEATURESTORE: Allow Oci functions to inspect identity"
@@ -29,7 +24,6 @@ resource oci_functions_application test_application {
2924
}
3025
}
3126

32-
3327
resource oci_functions_function test_function {
3428
application_id = oci_functions_application.test_application.id
3529
display_name = "authorizer"
-71 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)