- Notifications
You must be signed in to change notification settings - Fork1k
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
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 atdogfood/main.tf
, with the actual template terraform things indogfood/coder
anddogfood/coder-envbuilder
(nocontents
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
tofbb1271
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
148f59c
tod49f813
CompareThere 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
to6f9c950
Compare09dd69a
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
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
.