https://github.com/escapace/terraform-null-template-directory
https://github.com/escapace/terraform-null-template-directory
terraform terraform-module
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/escapace/terraform-null-template-directory
- Owner: escapace
- License: apache-2.0
- Created: 2020-06-08T12:01:02.000Z (about 6 years ago)
- Default Branch: trunk
- Last Pushed: 2024-12-14T09:49:14.000Z (over 1 year ago)
- Last Synced: 2025-02-06T13:18:36.017Z (over 1 year ago)
- Language: HCL
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Inputs
| Name | Description | Type | Default | Required |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: |
| base_dir | The base directory in which this module will search for static files and templates. | `string` | n/a | yes |
| default_file_type | The Content-Type value to use for any files that don't match one of the suffixes given in file_types. | `string` | `"application/octet-stream"` | no |
| exclude | Regular expression patterns to exclude file names. | `list(string)` | `[]` | no |
| file_types | Map from file suffixes, which must begin with a period and contain no periods, to the corresponding Content-Type values. | `map(string)` | `{ ".3g2": "video/3gpp2", ".3gp": "video/3gpp", ".atom": "application/atom+xml", ".avif": "image/avif", ".avifs": "image/avif-sequence", ".css": "text/css; charset = utf-8", ".eot": "application/vnd.ms-fontobject", ".gif": "image/gif", ".heic": "image/heic", ".heif": "image/heif", ".htm": "text/html; charset = utf-8", ".html": "text/html; charset = utf-8", ".ico": "image/x-icon", ".jar": "application/java-archive", ".jpeg": "image/jpeg", ".jpg": "image/jpeg", ".js": "text/javascript", ".json": "application/json", ".jsonld": "application/ld+json", ".otf": "font/otf", ".pdf": "application/pdf", ".png": "image/png", ".rss": "application/rss+xml", ".svg": "image/svg", ".swf": "application/x-shockwave-flash", ".tif": "image/tiff", ".tiff": "image/tiff", ".ttc": "font/collection", ".ttf": "font/ttf", ".txt": "text/plain; charset = utf-8", ".weba": "audio/webm", ".webm": "video/webm", ".webp": "image/webp", ".woff": "font/woff", ".woff2": "font/woff2", ".xhtml": "application/xhtml+xml", ".xml": "application/xml" }` | no |
| template_file_suffix | The filename suffix that indicates that a file is a Terraform template file rather than a static file. | `string` | `".tmpl"` | no |
| template_vars | Variables to make available for interpolation and other expressions in template files. | `any` | `{}` | no |
## Outputs
| Name | Description |
| --------------- | ---------------------------------------------------------------------------------------------------------------- |
| files | Map from relative file paths to objects describing all of the files. See the module README for more information. |
| files_in_memory | A filtered version of the files output that includes only entries that have rendered content in memory. |
| files_on_disk | A filtered version of the files output that includes only entries that point to static files on disk. |
## Requirements
| Name | Version |
| --------- | ------- |
| terraform | >=1.9.8 |