-
Notifications
You must be signed in to change notification settings - Fork 543
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
Show 'providers' information #140
Conversation
@khos2ow should we display provider information optionally? |
I think after a little while showing provider information will become mainstream, and instead of opt-in approach I had thought to add new flags for opt-out approach, |
Originally-Authored-By: Thomas Alton <thomas.alton@gmail.com> Original-Pull-Request: terraform-docs#113
@khos2ow I like that approach! That will create a breaking change in how things are displayed, and we should be 1) transparent about this in the release documentation and 2) ping our power users. |
Guys, how is this supposed to work ? I guess it will show the same output as Providers Requirements section from |
@crisp2u it looks for Also you can find the generated content here based on our example. resource "tls_private_key" "baz" {}
data "aws_caller_identity" "current" {
provider = "aws"
}
data "aws_caller_identity" "ident" {
provider = "aws.ident"
}
terraform {
required_providers {
aws = ">= 2.15.0"
}
}
resource "null_resource" "foo" {} will generate
|
Thanks for the examples pointer. I'm getting some weird output from my code but i'll try to isolate it and come back with some info |
Prerequisites
Put an
x
into the box(es) that apply:For more information, see the Contributing Guide.
Description
This PR adds new functionality to show
providers
information. This was originally added in #113 by @moatra which we decided to introduce it in its own PR for the sake of cleaner history.Issues Resolved
List any existing issues this pull request resolves.
Checklist
Put an
x
into all boxes that apply:Tests
make test
.Documentation
Code Style