Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.08 KB

Terraform token for kubeadm

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}".

Usage

module "kubeadm_token" {
  source  = "robinlieb/kubeadm-token/random"
}

output "token" {
  value = module.kubeadm_token.token
}

Requirements

Name Version
terraform >= 0.12
random 3.6.3

Providers

Name Version
random 3.6.3

Outputs

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}

License

This project is released under the Apache License 2.0. For more information, see the LICENSE file.