-
Notifications
You must be signed in to change notification settings - Fork 887
chore(dogfood): include multiple templates under dogfood/ #16846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this just be a single coderd provider terraform file instead at dogfood/main.tf
, with the actual template terraform things in dogfood/coder
and dogfood/coder-envbuilder
(no contents
dirs)
Doesn't seem like we get much gain from having them be two separate apply operations since the coderd provider should support multiple templates
Dean beat me to it! I think this should just be a seperate resource in the same file, instead of two files. |
f81e490
to
fbb1271
Compare
148f59c
to
d49f813
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Great Work 🚀
800c96b
to
6f9c950
Compare
We have an alternative dogfood template that has long-since required manual updating. Bringing this under the auspices of
terraform-provider-coderd
. This will also make it easier to add more templates underdogfood/
in the future.As part of this, I moved the existing template under
dogfood/coder
. I think I got all of the references to it, but there's a non-zero chance I missed something.dogfood/contents
todogfood/coder
.coder-envbuilder
todogfood/coder-envbuilder
.dogfood/main.tf
to pushcoder-envbuilder
template.data.coderd_organization.default.id
.