-
Notifications
You must be signed in to change notification settings - Fork 911
feat: Add Terraform Provider for agent resources #368
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
This was detecting branches, but not our "main" branch before. Hopefully this fixes it!
Codecov Report
@@ Coverage Diff @@
## main #368 +/- ##
==========================================
+ Coverage 67.70% 68.03% +0.32%
==========================================
Files 148 148
Lines 8064 8096 +32
Branches 72 72
==========================================
+ Hits 5460 5508 +48
+ Misses 2041 2026 -15
+ Partials 563 562 -1
Continue to review full report at Codecov.
|
GOOS=$(shell go env GOOS) | ||
GOARCH=$(shell go env GOARCH) |
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.
Looks like the foundation for cross-compilation coming in 🎉
mkdir -p ~/.terraform.d/plugins/coder.com/internal/coder/0.2/$(OS_ARCH) | ||
cp bin/terraform-provider-coder ~/.terraform.d/plugins/coder.com/internal/coder/0.2/$(OS_ARCH) |
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.
Nice 👍
Not a blocker or needed but eventually we'll need a nice way to set the VERSION
(vs the hardcoded 0.2)
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.
Opened an issue to track here: #376
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.
Oh, awesome!
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.
Thanks for integrating this @kylecarbs - just minor nits but overall looks great.
Co-authored-by: Bryan <bryan@coder.com>
2e2c185
to
7594657
Compare
This adds a
coder
Terraform Provider that adds two resources: