-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: add resources_monitoring field to agent #331
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.
LGTM
examples/data-sources/coder_resources_monitoring/data-source.tf
Outdated
Show resolved
Hide resolved
examples/data-sources/coder_resources_monitoring/data-source.tf
Outdated
Show resolved
Hide resolved
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.
Blocking this from accidental merge since we already have one approval, but some work is still required for validation.
@mtojek @dannykopping - I improved the validation and added test cases for all the main cases, should be way better now. ✅ |
I added some more cases to ensure we test all new fields and options. Just a point remaining to discuss based on what we want to do around the duplicates validation. More details on this comment but globally I copy pasted metadata - still if there's any better place I am open to change it. Otherwise I tested the tf-provider with coder/coder and it works exactly as we want - so I'm happy about the current behavior. |
I have two suggestions.
WDYT @johnstcn as we recently spoke about versions for our provider? |
I'll indeed defer answers to your questions to @johnstcn - not sure if this is doable and how , but happy to implement the check if we want to. About the versioning, both are fine to me. I already tested it a lot with the Coder code we will deploy but a rc can be good too. |
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!
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!
It should be possible to hit the
I'm fine with RC releases. It's a little annoying to have to cherry-pick each time, but it's not the end of the world. |
As required per this issue - we need to add a new field in terraform-provider-coder , more specifically in the agent.