diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e282a8e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Override for Makefile +[{Makefile,makefile,GNUmakefile}] +indent_style = tab +indent_size = 4 + +[Makefile.*] +indent_style = tab +indent_size = 4 + +[{*.yaml,*.yml,*.md}] +indent_style = space +indent_size = 2 + +[*.sh] +indent_style = tab +indent_size = 2 + +[*.{tf,tfvars,tpl,variant}] +indent_style = space +indent_size = 2 + +[*.json] +insert_final_newline = false diff --git a/.github/renovate.json b/.github/renovate.json index 47cf066..2921be4 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -3,4 +3,4 @@ "extends": [ "config:base" ] -} +} \ No newline at end of file diff --git a/docs/.gitkeep b/docs/.gitkeep index e69de29..8b13789 100644 --- a/docs/.gitkeep +++ b/docs/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/context.tf b/src/context.tf index 5e0ef88..e7dd3ea 100644 --- a/src/context.tf +++ b/src/context.tf @@ -264,8 +264,8 @@ variable "descriptor_formats" { Describe additional descriptors to be output in the `descriptors` output map. Map of maps. Keys are names of descriptors. Values are maps of the form `{ - format = string - labels = list(string) + format = string + labels = list(string) }` (Type is `any` so the map values can later be enhanced to provide additional options.) `format` is a Terraform format string to be passed to the `format()` function.