terraform/config: resource templates are functional