Skip to content
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

example subcommand #6

Closed
yields opened this issue Jun 15, 2016 · 2 comments
Closed

example subcommand #6

yields opened this issue Jun 15, 2016 · 2 comments

Comments

@yields
Copy link
Contributor

yields commented Jun 15, 2016

$ terraform-docs example ecs-cluster

module "example" {
  source = "github.com/segmentio/stack/ecs-cluster
  foo       = "baz"
  baz      = "..."
}
@metmajer
Copy link
Member

@yields This issue seems to have become stale and I am unsure about what you're trying to show. Closing for now, but feel free to reopen in case you want to further elaborate on this enhancement.

@yields
Copy link
Contributor Author

yields commented Sep 23, 2018

oh, the idea was to output an example use of the module, so the defaults will be used.
so instead of you writing the module manually, you would just do this:

terraform-docs example ecs-cluster > ./mycluster.tf

and then just change the defaults, fill out the required variables and terraform plan -> apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants