-
Notifications
You must be signed in to change notification settings - Fork 69
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
template vars .Type & .Name are back to front? #43
Comments
Seems to come from here:
and here:
when
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
For the resource template excerpt:
v0.4.0 generates (for an AWS VPC resource, say):
which is certainly backwards from the perspective of the rendered page, but surely it's right to expect that
.Type
would be "Resource" and.Name
"aws_vpc", rather than vice versa?I initially got that template from the Unifi provider linked in the readme here, but I note now that it doesn't use resource templates, and there's a sensible default if you don't need to add something to the template. So I've actually done that myself too now, and as a result this isn't really an issue for me, just thought I'd mention it 🙂.
The text was updated successfully, but these errors were encountered: