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

Incorrect sample in IP ranges data source docs #574

Closed
cooperbenson-qz opened this issue Jan 10, 2020 · 1 comment · Fixed by #617
Closed

Incorrect sample in IP ranges data source docs #574

cooperbenson-qz opened this issue Jan 10, 2020 · 1 comment · Fixed by #617

Comments

@cooperbenson-qz
Copy link

The doc example for using the cloudflare_ip_ranges data source is incorrect. It should be passed directly to source_ranges since it's a list of strings, instead of being templated into a string.

source_ranges = ["${data.cloudflare_ip_ranges.cloudflare.ipv4_cidr_blocks}"]

should be

 source_ranges = data.cloudflare_ip_ranges.cloudflare.ipv4_cidr_blocks

Terraform Version

N/A

Affected Resource(s)

  • cloudflare_ip_ranges

Terraform Configuration Files

N/A

Debug Output

N/A

Panic Output

N/A

Expected Behavior

What should have happened?

Actual Behavior

What actually happened?

Steps to Reproduce

N/A

Important Factoids

N/A

References

Output schema definition source

@jacobbednarz
Copy link
Member

This just hasn’t been updated for 0.12 (works as expected in 0.11).

Happy to review a PR to get this updated.

jacobbednarz added a commit that referenced this issue Mar 9, 2020
Updates the examples shown to use the 0.12 syntax.

Closes #574
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

Successfully merging a pull request may close this issue.

2 participants