https://github.com/k-candidate/tf-ca
Private CA
https://github.com/k-candidate/tf-ca
Last synced: 18 days ago
JSON representation
Private CA
- Host: GitHub
- URL: https://github.com/k-candidate/tf-ca
- Owner: k-candidate
- Created: 2025-02-07T20:21:47.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T13:14:53.000Z (10 months ago)
- Last Synced: 2025-03-23T14:23:32.012Z (10 months ago)
- Language: HCL
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tf-ca
Private CA
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.10.0 |
| [libvirt](#requirement\_libvirt) | = 0.7.1 |
## Providers
No providers.
## Modules
| Name | Source | Version |
|------|--------|---------|
| [tf-module-kvm-vm](#module\_tf-module-kvm-vm) | git@github.com:k-candidate/tf-module-kvm-vm.git | v1.5.0 |
## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [access\_key](#input\_access\_key) | Access key id for Minio S3 bucket | `string` | n/a | yes |
| [ca\_name](#input\_ca\_name) | Root CA name | `string` | `"DevOps Private Root CA"` | no |
| [end\_entity\_domain](#input\_end\_entity\_domain) | End entity domain. Usually should be the domain that corresponds to var.network\_name | `string` | n/a | yes |
| [endpoint\_url](#input\_endpoint\_url) | url for Minio S3 bucket | `string` | `"http://minio.devops.dom:9000"` | no |
| [image\_source](#input\_image\_source) | Local path or URL for the image | `string` | `"https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img"` | no |
| [intermediate\_ca\_key\_passphrase](#input\_intermediate\_ca\_key\_passphrase) | Passphrase for the intermediate CA key | `string` | n/a | yes |
| [intermediate\_ca\_name](#input\_intermediate\_ca\_name) | Intermediate CA name | `string` | `"DevOps Private Intermediate CA"` | no |
| [libvirt\_uri](#input\_libvirt\_uri) | Libvirt URI | `string` | `"qemu:///session"` | no |
| [network\_name](#input\_network\_name) | Name of the libvirt network where this machine will be provisioned | `string` | `"default"` | no |
| [root\_ca\_key\_passphrase](#input\_root\_ca\_key\_passphrase) | Passphrase for the root CA key | `string` | n/a | yes |
| [secret\_key](#input\_secret\_key) | Secret key for Minio S3 bucket | `string` | n/a | yes |
| [ssh\_private\_key](#input\_ssh\_private\_key) | Private SSH key of the account | `string` | `"~/.ssh/id_ed25519"` | no |
| [ssh\_public\_key](#input\_ssh\_public\_key) | Public SSH key of the account | `string` | `"~/.ssh/id_ed25519.pub"` | no |
| [user\_data](#input\_user\_data) | File for cloud-init user data cfg | `string` | `"cloud-init/user-data.cfg"` | no |
| [vm\_hostname](#input\_vm\_hostname) | Hostname of the machine | `string` | `"ca.domain.dom"` | no |
| [vm\_name](#input\_vm\_name) | Libvirt name or domain of the machine | `string` | `"ca"` | no |
| [vm\_username](#input\_vm\_username) | Username of an account for SSH access | `string` | `"ubuntu"` | no |
| [volume\_size](#input\_volume\_size) | The size of the VM disk in bytes. | `string` | `"4294967296"` | no |
## Outputs
No outputs.