Function: terraform-kill-doc-url
terraform-kill-doc-url is an interactive and natively compiled
function defined in terraform-mode.el.
Signature
(terraform-kill-doc-url)
Documentation
Kill the URL documenting the resource at point (i.e. copy it to the clipboard).
Key Bindings
terraform-mode-map C-c C-d C-c
Source Code
;; Defined in /nix/store/2sgzhgfr3sxpjh5dpyjjiqacrm3016bl-emacs-packages-deps/share/emacs/site-lisp/elpa/terraform-mode-20251115.2210/terraform-mode.el
(defun terraform-kill-doc-url ()
"Kill the URL documenting the resource at point (i.e. copy it to the clipboard)."
(interactive)
(let* ((url (substring-no-properties (terraform--resource-url-at-point))))
(kill-new url)
(message "Copied URL: %s" url)))