mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 04:48:33 +07:00
feat: Show 'providers' information (#140)
* Show 'providers' information * Fix for unsorted providers list BREAKING CHANGE: - With Terraform 0.12 the information about `providers` being used in the module will be generated by default. This will cause the first generation of documents with the latest release of `terraform-docs` binary be slightly different than before, now there will be `Providers` section in Markdown and `providers` block in JSON. You can ignore this by using new `--no-providers` flag if you choose to. Originally-Authored-By: Thomas Alton <thomas.alton@gmail.com> Original-Pull-Request: #113
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
resource "tls_private_key" "baz" {}
|
||||
|
||||
data "aws_caller_identity" "current" {
|
||||
provider = "aws"
|
||||
}
|
||||
@@ -9,3 +11,4 @@ terraform {
|
||||
aws = ">= 2.15.0"
|
||||
}
|
||||
}
|
||||
resource "null_resource" "foo" {}
|
||||
|
||||
Reference in New Issue
Block a user