Skip to content

Commit f7b9dba

Browse files
smehboubanandkunal
authored andcommitted
make incapsula_site resource log_level parameter optional
1 parent 42473d8 commit f7b9dba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

incapsula/resource_site.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ func resourceSite() *schema.Resource {
135135
},
136136
},
137137
"log_level": {
138-
Description: "The log level. Options are `full`, `security`, and `none`. Defaults to `none`.",
138+
Description: "The log level. Options are `full`, `security`, and `none`.",
139139
Type: schema.TypeString,
140-
Default: "none",
140+
Computed: true,
141141
Optional: true,
142142
},
143143
"perf_client_comply_no_cache": {

website/docs/r/site.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The following arguments are supported:
7272
* `data_storage_region` - (Optional) The data region to use. Options are `APAC`, `AU`, `EU`, and `US`.
7373
* `hashing_enabled` - (Optional) Specify if hashing (masking setting) should be enabled.
7474
* `hash_salt` - (Optional) Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
75-
* `log_level` - (Optional) The log level. Options are `full`, `security`, and `none`. Defaults to `none`.
75+
* `log_level` - (Optional) The log level. Options are `full`, `security`, and `none`.
7676
* `perf_client_comply_no_cache` - (Optional) Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
7777
* `perf_client_enable_client_side_caching` - (Optional) Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
7878
* `perf_client_send_age_header` - (Optional) Send Cache-Control: max-age and Age headers.
@@ -115,4 +115,4 @@ Site can be imported using the `id`, e.g.:
115115

116116
```
117117
$ terraform import incapsula_site.demo 1234
118-
```
118+
```

0 commit comments

Comments
 (0)