Skip to content

robinlieb/terraform-random-kubeadm-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Terraform module designed to generate a token for kubeadm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages