-
Notifications
You must be signed in to change notification settings - Fork 630
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: updated gateway rule action audit ssh and rule properties #2303
feat: updated gateway rule action audit ssh and rule properties #2303
Conversation
changelog detected ✅ |
0fa2742
to
7b8ddc5
Compare
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.
i added some comments inline but do sing out if you have any questions/issues.
once you're ready, you'll also want to run make docs
to generate the automatic registry documentation.
40c75ec
to
c296cc1
Compare
@jacobbednarz All suggestions are applied and doc generated. Thanks |
i think we may need to do some work here as the test suite is failing for non-tenants.
which means a large portion of the user base will be broken if we merge and release this. we'll need the fields to be conditionally sent only if they are specified in the config. |
Yes that's right. I will fix it tomorrow.
On Tue, Mar 21, 2023 at 8:11 PM Jacob Bednarz ***@***.***> wrote:
i think we may need to do some work here as the test suite is failing for
non-tenants.
=== RUN TestAccCloudflareTeamsRuleBasic
resource_cloudflare_teams_rules_test.go:26: Step 1/1 error: Error running apply: exit status 1
Error: error creating Teams rule for account "f037e56e89293a057740de681ac9abbe": Bypass settings cannot be set for non-tenant accounts (2020)
with cloudflare_teams_rule.piflgoxaaq,
on terraform_plugin_test.tf line 2, in resource "cloudflare_teams_rule" "piflgoxaaq":
2: resource "cloudflare_teams_rule" "piflgoxaaq" {
--- FAIL: TestAccCloudflareTeamsRuleBasic (6.25s)
FAIL
FAIL github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider 7.484s
which means a large portion of the user base will be broken if we merge
and release this. we'll need the fields to be conditionally sent only if
they are specified in the config.
—
Reply to this email directly, view it on GitHub
<#2303 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFN7RE4YZIXF7SUCPCQ4HTW5I7R5ANCNFSM6AAAAAAWBGAKNY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
*Arun Scaria | ***@***.*** ***@***.***> | ***@***.***
***@***.***> | +1-480-628-9203*
|
bc0921b
to
497c595
Compare
How exactly did you run this test? I feel like I am missing some account credentials when i run this |
you can run my usual invocation looks like this (minus some env vars) - |
i think the part of the issue is that even though the values are being sent as request
response
|
f4ad684
to
0c66c23
Compare
with the latest cloudflare-go changes shimmed in, this looks much better, thanks! once that lands, i'll update this branch and we can get it merged in. |
8c68bd7
to
655028b
Compare
Thanks Jacob. |
acceptance tests all passing
|
This functionality has been released in v4.3.0 of the Terraform Cloudflare Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
No breaking changes. Just updating some new api properties.
Closes #2316