mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
Render resources without URL correctly in Markdown and Asciidoc
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
This commit is contained in:
@@ -43,10 +43,15 @@ terraform {
|
||||
required_providers {
|
||||
random = ">= 2.2.0"
|
||||
aws = ">= 2.15.0"
|
||||
foo = {
|
||||
source = "https://registry.acme.com/foo"
|
||||
version = ">= 1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resource "tls_private_key" "baz" {}
|
||||
resource "foo_resource" "baz" {}
|
||||
|
||||
data "aws_caller_identity" "current" {
|
||||
provider = "aws"
|
||||
@@ -74,5 +79,5 @@ module "baz" {
|
||||
}
|
||||
|
||||
module "foobar" {
|
||||
source = "git@github.com:module/path?ref=v7.8.9"
|
||||
source = "git@github.com:module/path?ref=v7.8.9"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user