I am writing up some terraform for prefect blocks....
# ask-community
z
I am writing up some terraform for prefect blocks. How do I properly "link" a github repository block resource to a github credentials block resource. I can obviously create add the token to the repo resource using a json, but then on prefect cloud UI I don't see the repo linked to the credentials block.
I am seeing
Copy code
Use prefect block type inspect <slug> to view the data schema for a given Block type. Use this to construct the data attribute value (as JSON string).
So, eh... no way to do the above I take it?
m
hi @Zach Marinov, thanks for reaching out and sorry for the delay - i've just set up notifications for keywords related to the terraform project I suspect you're looking for the
$ref
setup, which you can find by searching that string in https://registry.terraform.io/providers/PrefectHQ/prefect/latest/docs/resources/block and you'll see an example