-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
40 lines (34 loc) · 1.5 KB
/
vars.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
variable "region" {
type = string
### Replace with your Region if not AMS
default = "eu-amsterdam-1"
}
variable "compartment_id" {
type = string
### Replace with your Compartment OCID
default = "ocid1.compartment.oc1..aaaaaaaa...."
}
variable "function_id" {
type = string
### Replace with your Scanning function OCID
default = "ocid1.fnfunc.oc1.eu-amsterdam-1.aaaaaaaa4...."
}
variable "event_condition" {
type = string
### Replace with your Compartment OCID
default = "{\"eventType\":[\"com.oraclecloud.objectstorage.updateobject\",\"com.oraclecloud.objectstorage.createobject\"],\"data\":{\"compartmentId\":[\"ocid1.compartment.oc1..aaaaaaaa....\"],\"additionalDetails\":{\"bucketName\":[\"scanning\"]}}}"
}
variable "clean_event_condition" {
type = string
### Replace with your Compartment OCID
default = "{\"eventType\":[\"com.oraclecloud.objectstorage.updateobject\",\"com.oraclecloud.objectstorage.createobject\"],\"data\":{\"compartmentId\":[\"ocid1.compartment.oc1..aaaaaaaa...."],\"additionalDetails\":{\"bucketName\":[\"scanned\"]}}}"
}
variable "infected_event_condition" {
type = string
### Replace with your Compartment OCID
default = "{\"eventType\":[\"com.oraclecloud.objectstorage.updateobject\",\"com.oraclecloud.objectstorage.createobject\"],\"data\":{\"compartmentId\":[\"ocid1.compartment.oc1..aaaaaaaa....\"],\"additionalDetails\":{\"bucketName\":[\"scanning-alert-report\"]}}}"
}
variable "tags" {
type = string
default = "created by Terraform"
}