Skip to content

Commit

Permalink
remove default for service_logdef (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthicgit authored Oct 7, 2021
1 parent f6cffa5 commit a007c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/terraformoptions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ loggroup_tags = {
#emaillog = {loggroup="emailloggroup",service="email",resource="<emaildomain>"}
}
----
|{}
|

|`vcn_id`
|VCN OCID
Expand Down
3 changes: 1 addition & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ variable "log_retention_duration" {

variable "service_logdef" {
type = map(any)
description = "OCI Service log definition"
default = {}
description = "OCI Service log definition.Please refer doc for example definition"
validation {
condition = (
try(lookup(element(values(var.service_logdef), 0), "resource", null), {}) != null &&
Expand Down

0 comments on commit a007c40

Please sign in to comment.