feat: add resources_monitoring field to agent#331
Conversation
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
dannykopping
left a comment
There was a problem hiding this comment.
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. |
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.