hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
42.33k stars 9.49k forks source link

Setup and Implement Read tutorial - Wrong filename reference in code block #33638

Open keivinonline opened 1 year ago

keivinonline commented 1 year ago

Terraform Version

Not applicable

Affected Pages

https://developer.hashicorp.com/terraform/tutorials/providers/provider-setup#add-data-source-to-provider

What is the docs issue?

The code snippet's filename seems to be wrong as the description and code suggests hashicups/provider.go instead of hashicups/data_source_coffee.go

Proposal

Change the filename to hashicups/provider.go in the section's codeblock

References

None

apurvagandhi commented 1 year ago

Can I work on this issue, please. Could you please assign it to me. Thanks!

keivinonline commented 1 year ago

as far as I know, these documentation repos are not open to PRs. let's wait for the team to respond.

crw commented 1 year ago

Thanks for this submission! The tutorials are not publicly editable, no. Thanks again!