-
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
Add new resource for dex tests #2250
Conversation
changelog detected ✅ |
|
||
func testAccCloudflareDeviceDexTestsHttp(accountID, rnd string) string { | ||
return fmt.Sprintf(` | ||
resource "cloudflare_device_dex_tests" "%[1]s" { |
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.
these tests are all missing the required account_id
field.
func testAccCloudflareDeviceDexTestsHttp(accountID, rnd string) string { | ||
return fmt.Sprintf(` | ||
resource "cloudflare_device_dex_tests" "%[1]s" { | ||
test_id = "%[2]s" |
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.
test_id
doesn't appear in your schema. is this the value we are using for id
? if so, we don't need it here.
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.
Yes for this resource we used test_id
to represent what would usually be the id
field. Thanks for the heads up.
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! |
Must not be merged until the new
cloudflare-go
versions have been published as it depends on fixes of dex_test feature of unreleasedcloudflare-go
0.62.0 (https://github.com/cloudflare/cloudflare-go/blob/master/CHANGELOG.md) and the subsequent bugfix PR for it (cloudflare/cloudflare-go#1213)