-
Notifications
You must be signed in to change notification settings - Fork 649
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
Pass RateLimitCorrelate
to flattenRateLimitCorrelate
#204
Pass RateLimitCorrelate
to flattenRateLimitCorrelate
#204
Conversation
During an import of `cloudflare_rate_limit` resources, the NAT correlation value isn't getting set however subsequent runs are. Looking into this issue, I can see that the `d.Set("correlate")` aren't calling the `flattenRateLimitCorrelate` with the required argument of a `RateLimitCorrelate` type. I cannot see how this ever worked (even on subsequent runs) but passing in the argument has addressed the issue with importing. Fixes #199
@patryk You've got more Golang chops than I do. Would you mind making sure I haven't missed something silly here or covering up an underlying bug? |
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.
This LGTM.
@jacobbednarz I've done it for this PR (and your other one), but will you please make sure that all user-facing PRs are mentioned in the Changelog after merging? 🙏 Thanks. 😉 |
Thanks! I wasn't sure if the automated releases stuff took care of that or
not 🙏🏻
…On Mon, 25 Feb 2019 at 18:54, Radek Simko ***@***.***> wrote:
@jacobbednarz <https://github.com/jacobbednarz> I've done it for this PR
(and your other one), but will you please make sure that all user-facing
PRs are mentioned in the Changelog
<https://github.com/terraform-providers/terraform-provider-cloudflare/blob/master/CHANGELOG.md>
after merging? 🙏
Thanks. 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/terraform-providers/terraform-provider-cloudflare/pull/204#issuecomment-466906553>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARSYtFZGudNsJBI9UStd1cjEHv9jxBgks5vQ5aogaJpZM4adSH->
.
|
It is somewhere on our roadmap to look into (semi-)automating this problem for all providers, but we're not there yet, unfortunately. |
updated LoadBalancer for SteeringPolicy support
During an import of
cloudflare_rate_limit
resources, the NATcorrelation value isn't getting set however subsequent runs are.
Looking into this issue, I can see that the
d.Set("correlate")
isn'tcalling the
flattenRateLimitCorrelate
with the required argument of aRateLimitCorrelate
type. I cannot see how this ever worked (even onsubsequent runs) but passing in the argument has addressed the issue
with importing.
Fixes #199