coder / coder/terraform-provider-coderd
feat(coderd_template): Support also referencing an archive file.
- Dominant language
- Go
- Stars
- 29
- Forks
- 13
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 20
Description
Similar to the `coder templates push` command, the coderd_template resource should be able to optionally reference an archive file to push instead of just a directory.
I have a use-case where I need to be able to include hidden directories as part of the template bundle, and to my understanding the way Coder handles it, it intentionally ignores them.
In my use-case, I'm already filtering out the hidden files that I shouldn't be including via:
```
tar \
--exclude='tmp.auto.tfvars.json' \
--exclude='tf.plan' \
--exclude='terraform.tfstate' \
--exclude='.claude' \
--exclude='.terraform' \
--exclude='._*' \
--exclude='.DS_Store' \
--exclude='.git' -cvf - $(ls -A) | coder templates push -O coder memorycard --variables-file tmp.auto.tfvars.json -d -
```
But it would be nice if this was tracked and managed by the coderd_template instead.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.