Open fzipi opened 5 years ago
:wave: I'm sorry you're having trouble. I'm not able to commit any time to this project, but I suspect that what's needed is to add that field to the type TCPoolProfile struct
at https://github.com/terra-farm/udnssdk/blob/master/rrset.go#L219
You might also investigate finishing the PRs at https://github.com/terra-farm/udnssdk/pulls. I'm happy to get you commit privs, but the people managing that org hang out at https://gitter.im/hashicorp-terraform/terra-farm these days.
@josephholsten Sure, I can help! Seems pretty straightforward.
Also, dependency in this module is to github.com/Ensighten/udnssdk
, not terra-farm (maybe that was before changing namespace).
Seems like availableToServe
is already there, so maybe the version availabe needs to be updated ...
// SBRDataInfo wraps the rdataInfo object of a SBPoolProfile
type SBRDataInfo struct {
State string `json:"state"`
RunProbes bool `json:"runProbes"`
Priority int `json:"priority"`
FailoverDelay int `json:"failoverDelay,omitempty"`
Threshold int `json:"threshold"`
Weight int `json:"weight"`
AvailableToServe bool `json:"availableToServe,omitempty"` // <====
}
TC pool is not working, maybe UltraDNS API has been updated but not module.
Terraform Version
Terraform v0.11.14
Not running the latest version, because, you know: it does not work. See #10 .
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Resource is created properly.
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Use the examples provided in code.
terraform apply
Important Factoids
I guess the API in UltraDNS changed. These are the results for TC_POOLS query in postman (https://api.ultradns.com/zones/./rrsets/?q=kind:TC_POOLS):
References