Skip to content
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

Error: Unsupported block type (when validating with "terraform validate" after generating --resource_type cloudflare_access_groups) #482

Open
2 tasks done
etec-masterofsynapse opened this issue Oct 28, 2022 · 0 comments

Comments

@etec-masterofsynapse
Copy link

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

cf-terraforming v0.8.8

Expected outcome

Get a valid .tf file with cf-terraforming generate -a <ACCOUNT_ID> --resource-type cloudflare_access_group > cloudflare_access_group.tf

Actual outcome

cf-terraforming generate -a <ACCOUNT_ID> --resource-type cloudflare_access_group > cloudflare_access_group.tf executed successfully, but 'terraform validatehits the present error because the Cloudflare Terraform provider seemingly doesn't understand therequire { geo { } }` statement, even though it is documented as acceptable here: https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/access_group#geo

Steps to reproduce

  1. cf-terraforming generate -a <ACCOUNT_ID> --resource-type cloudflare_access_group > cloudflare_access_group.tf
  2. terraform validate

References

No response

@etec-masterofsynapse etec-masterofsynapse changed the title Error: Unsupported block type (when validating with "terraform validate" after generating--resource cloudflare_access_groups) Error: Unsupported block type (when validating with "terraform validate" after generating --resource cloudflare_access_groups) Oct 28, 2022
@etec-masterofsynapse etec-masterofsynapse changed the title Error: Unsupported block type (when validating with "terraform validate" after generating --resource cloudflare_access_groups) Error: Unsupported block type (when validating with "terraform validate" after generating --resource_type cloudflare_access_groups) Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant