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
Copy file name to clipboardExpand all lines: feature_store/apigw_terraform/README.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,11 @@ This module handles opinionated Feature Store AuthN/AuthZ configuration using AP
2
2
3
3
## Deploy Using Oracle Resource Manager
4
4
5
-
> ___NOTE:___ If you aren't already signed in, when prompted, enter the tenancy and user credentials. Review and accept the terms and conditions.
5
+
> ___NOTE:___ If you aren't already signed in, when prompted, enter the compartment <compartment_name> and user credentials. Review and accept the terms and conditions.
6
6
7
-
1. Click to deploy the stack
7
+
1. Click to download the [terraform bundle][https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://raw.githubusercontent.com/harsh97/oci-data-science-ai-samples/feature-store/feature_store/fs_apigw_terraform.zip]
8
8
9
-
[![Deploy to Oracle Cloud][magic_button]][magic_oke_stack]
10
-
11
-
1. Select the region and compartment where you want to deploy the stack.
9
+
1. Create a stack in OCI resource manager with the downloaded bundle
12
10
13
11
1. Follow the on-screen prompts and instructions to create the stack.
14
12
@@ -23,14 +21,16 @@ This module handles opinionated Feature Store AuthN/AuthZ configuration using AP
23
21
1. After the stack application is complete attach the auto-provisioned security rules to the respective service and node subnets of the OKE cluster.
24
22
25
23
### Prerequisites
26
-
27
-
Create a terraform.tfvars file and populate with the required variables or override existing variables.
28
-
29
-
Note: An example [tfvars file](examples/terraform.tfvars.example) is included for reference. Using this file is the
30
-
preferred way to run the stack from the CLI, because of the large number of variables to manage.
31
-
32
-
To use this file just copy the example [tfvars file](examples/terraform.tfvars.example) and save it in the outermost directory.
33
-
Next, rename the file to __terraform.tfvars__. You can override the example values set in this file.
24
+
#### Required permissions:
25
+
allow group <user_group> to manage orm-stacks in compartment <compartment_name>
26
+
allow group <user_group> to manage orm-jobs in compartment <compartment_name>
27
+
allow group <user_group> to read network-load-balancers in compartment <compartment_name>
28
+
allow group <user_group> to read instances in compartment <compartment_name>
29
+
allow group <user_group> to manage groups in compartment <compartment_name>
30
+
allow group <user_group> to manage dynamic-groups in compartment <compartment_name>
31
+
allow group <user_group> to manage functions-family in compartment <compartment_name>
32
+
allow group <user_group> to manage virtual-network-family in compartment <compartment_name>
33
+
allow group <user_group> to manage policies in tenancy
34
34
35
35
36
36
### Running Terraform
@@ -42,11 +42,11 @@ terraform init
42
42
```
43
43
44
44
```bash
45
-
terraform plan
45
+
terraform plan -var-file=<path-to-variable-file>
46
46
```
47
47
48
48
```bash
49
-
terraform apply
49
+
terraform apply -var-file=<path-to-variable-file>
50
50
```
51
51
52
52
```bash
@@ -62,5 +62,4 @@ See [LICENSE](./LICENSE) for more details.
policies=["allow any-user to use functions-family in compartment ${data.oci_identity_compartment.compartment1.name} where ALL {request.principal.type='ApiGateway'}"]
9
+
policies=["allow any-user to use functions-family in compartment ${data.oci_identity_compartment.compartment.name} where ALL {request.principal.type='ApiGateway'}"]
0 commit comments