Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
add some basic outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak committed Oct 22, 2019
1 parent f103a32 commit 88608d0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ This module supports creating a k3s cluster with a postgres backend in AWS. By d
| use\_default\_vpc | Should the default VPC for the region selected be used for Rancher | bool | `"true"` | no |
| vpc\_id | If use_default_vpc is false, the vpc id that Rancher should use | string | `"null"` | no |

## Outputs

| Name | Description |
|------|-------------|
| rancher\_admin\_password | |
| rancher\_token | |
| rancher\_url | |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
13 changes: 13 additions & 0 deletions output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
output "rancher_admin_password" {
value = local.rancher_password
sensitive = true
}

output "rancher_url" {
value = rancher2_bootstrap.admin.url
}

output "rancher_token" {
value = rancher2_bootstrap.admin.token
sensitive = true
}

0 comments on commit 88608d0

Please sign in to comment.