Skip to content

Commit

Permalink
update template for .ConcurrentIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Nov 28, 2023
1 parent fbe7fb0 commit 3568716
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions controllers/templates/atlas_schema.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ variable "lint_destructive" {
}
{{- with .Policy }}
{{- with .Diff }}
{{- if or .ConcurrentIndex .Skip }}
diff {
{{- with .ConcurrentIndex }}
concurrent_index {
{{- if .Create }}
create = true
{{- end }}
{{- if .Drop }}
drop = true
{{- end }}
}
{{- end }}
{{- with .Skip }}
skip {
{{- if .AddSchema }}
Expand Down Expand Up @@ -59,6 +70,7 @@ diff {
}
{{- end }}
}
{{- end }}
{{- end }}
{{- with .Lint }}
lint {
Expand Down

0 comments on commit 3568716

Please sign in to comment.