-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Description
Confirmation
- My issue isn't already found on the issue tracker.
- I have replicated my issue using the latest version of the library and it is still present.
cf-terraforming version
0.16.1
Expected outcome
cf-terraforming generates valid blocks for all possible configurations.
Actual outcome
cf-terraforming generates invalid code blocks :(
╷
│ Error: Missing required argument
│
│ on turnstile_widgets.tf line 20, in resource "cloudflare_turnstile_widget" "terraform_managed_resource_...":
│ 20: resource "cloudflare_turnstile_widget" "terraform_managed_resource_..." {
│
│ The argument "domains" is required, but no definition was found.
╵The generated block should include domain = [], likely because it is the default "Go" value for an array.
Steps to reproduce
- Get the entitlement for not specifying any domains
- Create a Turnstile widget with an empty list of domains
- Try to import it
Note: this requires a paid entitlement.
References
No response
Metadata
Metadata
Assignees
Labels
No labels