refactor: split article updates to the cli utilities

This commit is contained in:
Michele Cereda
2023-05-25 21:40:09 +02:00
parent 503f02ee8c
commit 443f34de92
3 changed files with 50 additions and 0 deletions

View File

@@ -5,6 +5,9 @@
```sh
# Get Replicated's logs.
docker logs replicated
# Reveal Terraform Enterprise instances' Initial Admin Creation Token.
replicated admin --tty=0 retrieve-iact
```
## Further readings

View File

@@ -2,6 +2,12 @@
Self-hosted distribution of Terraform Cloud.
## Table of contents <!-- omit in toc -->
1. [Basic requirements](#basic-requirements)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## Basic requirements
- a license file from HashiCorp
@@ -14,15 +20,22 @@ Self-hosted distribution of Terraform Cloud.
## Further readings
- [Replicated]
- [`tfe-admin`][tfe-admin]
## Sources
All the references in the [further readings] section, plus the following:
- [Terraform Enterprise documentation]
<!-- project's references -->
[terraform enterprise documentation]: https://developer.hashicorp.com/terraform/enterprise
<!-- in-article references -->
[further readings]: #further-readings
<!-- internal references -->
[replicated]: replicated.md
[tfe-admin]: tfe-admin.md
<!-- external references -->

View File

@@ -0,0 +1,34 @@
# `tfe-admin`
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
```sh
# Reveal the Initial Admin Creation Token.
tfe-admin retrieve-iact
# Execute a health check.
tfe-admin health-check
```
## Further readings
- [Terraform Enterprise]
## Sources
All the references in the [further readings] section, plus the following:
<!-- project's references -->
<!-- in-article references -->
[further readings]: #further-readings
<!-- internal references -->
[terraform enterprise]: terraform%20enterprise.md
<!-- external references -->