Terraform module designed to generate a token for kubeadm. The generated token will be in the format <token_id>.<token_secret> and maches the regular expression "[a-z0-9]{6}.[a-z0-9]{16}".
module "kubeadm_token" {
source = "robinlieb/kubeadm-token/random"
}
output "token" {
value = module.kubeadm_token.token
}
Name | Version |
---|---|
terraform | >= 0.12 |
random | 3.6.3 |
Name | Version |
---|---|
random | 3.6.3 |
Name | Description |
---|---|
token | The token which can be used for kubeadm. This will match the regular expression [a-z0-9]{6}.[a-z0-9]{16} |
This project is released under the Apache License 2.0. For more information, see the LICENSE file.