Added KB about Terraform Enterprise

This commit is contained in:
Michele Cereda
2023-01-13 22:31:22 +01:00
parent 258602ab41
commit 639930bed8
5 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"DaemonAuthenticationType": "password",
"DaemonAuthenticationPassword": "your-password-here",
"TlsBootstrapType": "server-path",
"TlsBootstrapHostname": "server.company.com",
"TlsBootstrapCert": "/etc/server.crt",
"TlsBootstrapKey": "/etc/server.key",
"BypassPreflightChecks": true,
"ImportSettingsFrom": "/path/to/settings.json",
"LicenseFileLocation": "/path/to/license.rli"
}

View File

@@ -0,0 +1,83 @@
{
"aws_access_key_id": {},
"aws_instance_profile": {},
"aws_secret_access_key": {},
"azure_account_key": {},
"azure_account_name": {},
"azure_client_id": {},
"azure_container": {},
"azure_endpoint": {},
"azure_use_msi": {},
"backup_token": {},
"ca_certs": {
"value": "--- X509 CERT ---\naabbccddeeff\n--- X509 CERT ---\n"
},
"capacity_concurrency": {
"value": "10"
},
"capacity_cpus": {},
"capacity_memory": {
"value": "512"
},
"custom_image_tag": {
"value": "hashicorp/build-worker:now"
},
"disk_path": {
"value": "/opt/terraform-enterprise"
},
"enable_active_active": {},
"enc_password": {
"value": "CHANGEME"
},
"extern_vault_addr": {},
"extern_vault_enable": {},
"extern_vault_namespace": {},
"extern_vault_path": {},
"extern_vault_propagate": {},
"extern_vault_role_id": {},
"extern_vault_secret_id": {},
"extern_vault_token_renew": {},
"extra_no_proxy": {},
"force_tls": {},
"gcs_bucket": {},
"gcs_credentials": {},
"gcs_project": {},
"hairpin_addressing": {},
"hostname": {
"value": "terraform.example.org"
},
"iact_subnet_list": {},
"iact_subnet_time_limit": {},
"log_forwarding_config": {},
"log_forwarding_enabled": {},
"metrics_endpoint_enabled": {},
"metrics_endpoint_port_http": {},
"metrics_endpoint_port_https": {},
"pg_dbname": {},
"pg_extra_params": {},
"pg_netloc": {},
"pg_password": {},
"pg_user": {},
"placement": {},
"production_type": {
"value": "disk"
},
"redis_host": {},
"redis_pass": {},
"redis_port": {},
"redis_use_password_auth": {},
"redis_use_tls": {},
"restrict_worker_metadata_access": {},
"s3_bucket": {},
"s3_endpoint": {},
"s3_region": {},
"s3_sse": {},
"s3_sse_kms_key_id": {},
"tbw_image": {
"value": "default_image"
},
"tls_ciphers": {},
"tls_vers": {
"value": "tls_1_2_tls_1_3"
}
}

View File

@@ -0,0 +1,16 @@
# Replicated
## Further readings
- [replicatedctl]
- [Configuration file example]
## Sources
<!-- project's references -->
<!-- internal references -->
[replicatedctl]: replicatedctl.md
[configuration file example]: ../examples/terraform%20enterprise/replicated.settings.json
<!-- external references -->

View File

@@ -0,0 +1,34 @@
# replicatedctl
## TL;DR
```sh
# Get the status of the whole system.
replicatedctl system status
# Get the detailed status of the application.
replicatedctl app status
# Start the application.
replicatedctl app start
# Stop the application.
replicatedctl app stop
# Show detailed information about the application.
replicatedctl app inspect
# Export the application's settings.
replicatedctl app-config export
replicatedctl app-config export > 'settings.json'
# Apply changes to the application's settings.
replicatedctl app apply-config
```
## Sources
- [Command reference]
<!-- project's references -->
[command reference]: https://help.replicated.com/api/replicatedctl/

View File

@@ -0,0 +1,28 @@
# Terraform Enterprise
Self-hosted distribution of Terraform Cloud.
## Basic requirements
- a license file from HashiCorp
- a TLS certificate with private key; the key and X.509 certificate must be PEM (base64) encoded
- at least 10GB of disk space on the root volume
- at least 40GB of disk space for the Docker data directory (defaults to `/var/lib/docker`)
- at least 8GB of system memory
- at least 4 CPU cores
## Further readings
- [Replicated]
## Sources
- [Terraform Enterprise documentation]
<!-- project's references -->
[terraform enterprise documentation]: https://developer.hashicorp.com/terraform/enterprise
<!-- internal references -->
[replicated]: replicated.md
<!-- external references -->