Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch kubernetes_version for vultr #2261

Open
1 task done
Seven45 opened this issue Aug 10, 2024 · 4 comments
Open
1 task done

Mismatch kubernetes_version for vultr #2261

Seven45 opened this issue Aug 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Seven45
Copy link

Seven45 commented Aug 10, 2024

Which version of kubefirst are you using?

v2.4.16

Which cloud provider?

Vultr

Which DNS?

Cloud ones (default)

Which installation type?

UI (Console app)

Which distributed Git provider?

GitHub

Did you use a fork of gitops-template?

No

Which Operating System?

Linux

What is the issue?

Vultr only supports k8s versions: 1.30.0+1, 1.29.4+1, 1.28.9+1. But when creating a kubefirst cluster, it creates a terraform manifest (gitops/terraform/vultr/main.tf) with the line kubernetes_version = "v1.28.2+1"

That's why at the Provisioning stage I get an error at 50%:

error creating kubernetes cluster: gave up after 4 attempts, last error: "{"error":"VKE server error: Could not add Vultr Kubernetes Engine: Invalid K8 version.","status":500}

Full logs from the verbose tab:

2024-08-10 14:05:34 info GitHub user: Seven45 

2024-08-10 14:05:34 warn no secret found: secrets "kubefirst-clusters" not found
 

2024-08-10 14:05:34 info created Secret kubefirst-clusters in Namespace kubefirst
 

2024-08-10 14:05:34 info created Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:05:34 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:05:34 info installing kubefirst dependencies 

2024-08-10 14:05:34 info starting downloads... 

2024-08-10 14:05:34 info Downloading kubectl from: https://dl.k8s.io/release/v1.25.7/bin/linux/amd64/kubectl 

2024-08-10 14:05:34 info Downloading terraform from https://releases.hashicorp.com/terraform/1.3.8/terraform_1.3.8_linux_amd64.zip 

2024-08-10 14:05:34 info unzipping file /root/.k1/kubefirst/tools/terraform 

2024-08-10 14:05:35 info OUT: clientVersion:
  buildDate: "2023-02-22T14:05:25Z"
  compiler: gc
  gitCommit: 723bcdb232300aaf5e147ff19b4df7ec8a20278d
  gitTreeState: clean
  gitVersion: v1.25.7
  goVersion: go1.19.6
  major: "1"
  minor: "25"
  platform: linux/amd64
kustomizeVersion: v4.5.7

 

2024-08-10 14:05:35 info Command: /root/.k1/kubefirst/tools/kubectl 

2024-08-10 14:05:35 info -> kubectl version:
	clientVersion:
  buildDate: "2023-02-22T14:05:25Z"
  compiler: gc
  gitCommit: 723bcdb232300aaf5e147ff19b4df7ec8a20278d
  gitTreeState: clean
  gitVersion: v1.25.7
  goVersion: go1.19.6
  major: "1"
  minor: "25"
  platform: linux/amd64
kustomizeVersion: v4.5.7


	
 

2024-08-10 14:05:35 info Kubectl download finished 

2024-08-10 14:05:35 info Terraform download finished 

2024-08-10 14:05:35 info downloads finished 

2024-08-10 14:05:35 info dependency downloads complete 

2024-08-10 14:05:35 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:05:36 info GetDNSInfo (working...) 

2024-08-10 14:05:36 info domainId: sandbox-for-sam.icu 

2024-08-10 14:05:36 info checking to see if record sandbox-for-sam.icu exists 

2024-08-10 14:05:36 info domainName sandbox-for-sam.icu 

2024-08-10 14:05:36 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:05:37 info domain sandbox-for-sam.icu verified 

2024-08-10 14:05:37 info waiting for vultr object storage k1-state-store-kubefirst-6i19eu to be ready 

2024-08-10 14:06:04 info vultr object storage k1-state-store-kubefirst-6i19eu ready 

2024-08-10 14:06:05 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:06:05 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:06:05 info vultr object storage credentials created and set 

2024-08-10 14:06:05 info repository https://github.com/sandbox-for-Sam/gitops does not exist, continuing 

2024-08-10 14:06:05 info repository https://github.com/sandbox-for-Sam/metaphor does not exist, continuing 

2024-08-10 14:06:05 info https://github.com/orgs/sandbox-for-Sam/teams/admins does not exist, continuing 

2024-08-10 14:06:05 info https://github.com/orgs/sandbox-for-Sam/teams/developers does not exist, continuing 

2024-08-10 14:06:05 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:06:05 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:06:05 info initializing the gitops repository - this may take several minutes 

2024-08-10 14:06:10 warn domain http://sandbox-for-sam.icu has no apex content 

2024-08-10 14:06:15 warn domain https://sandbox-for-sam.icu has no apex content 

2024-08-10 14:06:15 info cloning url: https://github.com/kubefirst/gitops-template.git - git ref: v2.4.16 

2024-08-10 14:06:19 info gitops repository clone complete 

2024-08-10 14:06:19 warn will create nginx-apex since apexContentExists was false 

2024-08-10 14:06:19 info init commit pre ref change 

2024-08-10 14:06:19 info committing initial detokenized gitops-template repo content 

2024-08-10 14:06:19 info committing initial detokenized metaphor repo content 

2024-08-10 14:06:20 info git remote add github https://github.com/sandbox-for-Sam/gitops.git 

2024-08-10 14:06:20 info git remote add github https://github.com/sandbox-for-Sam/metaphor.git 

2024-08-10 14:06:20 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:06:20 info gitops repository initialized 

2024-08-10 14:06:20 info Creating github resources with terraform 

2024-08-10 14:06:20 debug initActionAutoApprove - action: apply entrypoint: /root/.k1/kubefirst/gitops/terraform/github 

2024-08-10 14:06:20 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:06:20 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:06:20 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:06:20 debug  export GITHUB_TOKEN = **************************************** 

2024-08-10 14:06:20 debug  export TF_VAR_kbot_ssh_public_key = ********************************************************************************* 

2024-08-10 14:06:20 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:06:20 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:06:20 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:06:20 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:06:20 debug  export GITHUB_OWNER = *************** 

2024-08-10 14:06:20 debug  export TF_VAR_atlantis_repo_webhook_secret = ******************** 

2024-08-10 14:06:20 debug OUT: �[0m�[1;37mInitializing modules...�[0m 

2024-08-10 14:06:20 debug OUT: - gitops in modules/repository 

2024-08-10 14:06:20 debug OUT: - metaphor in modules/repository 

2024-08-10 14:06:20 debug OUT:  

2024-08-10 14:06:20 debug OUT: �[0m�[1;37mInitializing the backend...�[0m 

2024-08-10 14:06:20 debug OUT: �[0m�[32m 

2024-08-10 14:06:20 debug OUT: Successfully configured the backend "s3"! Terraform will automatically 

2024-08-10 14:06:20 debug OUT: use this backend unless the backend configuration changes.�[0m 

2024-08-10 14:06:21 debug OUT:  

2024-08-10 14:06:21 debug OUT: �[0m�[1;37mInitializing provider plugins...�[0m 

2024-08-10 14:06:21 debug OUT: - Finding integrations/github versions matching "~> 5.17.0"... 

2024-08-10 14:06:21 debug OUT: - Finding hashicorp/aws versions matching "~> 4.0"... 

2024-08-10 14:06:21 debug OUT: - Finding latest version of hashicorp/github... 

2024-08-10 14:06:21 debug OUT: - Installing hashicorp/github v6.2.3... 

2024-08-10 14:06:22 debug OUT: - Installed hashicorp/github v6.2.3 (signed by HashiCorp) 

2024-08-10 14:06:23 debug OUT: - Installing integrations/github v5.17.0... 

2024-08-10 14:06:24 debug OUT: - Installed integrations/github v5.17.0 (signed by a HashiCorp partner, key ID �[0m�[1;37m38027F80D7FD5FB2�[0m�[0m) 

2024-08-10 14:06:24 debug OUT: - Installing hashicorp/aws v4.67.0... 

2024-08-10 14:06:31 debug OUT: - Installed hashicorp/aws v4.67.0 (signed by HashiCorp) 

2024-08-10 14:06:31 debug OUT:  

2024-08-10 14:06:31 debug OUT: Partner and community providers are signed by their developers. 

2024-08-10 14:06:31 debug OUT: If you'd like to know more about provider signing, you can read about it here: 

2024-08-10 14:06:31 debug OUT: https://www.terraform.io/docs/cli/plugins/signing.html 

2024-08-10 14:06:31 debug OUT:  

2024-08-10 14:06:31 debug OUT: Terraform has created a lock file �[1;37m.terraform.lock.hcl�[0m to record the provider 

2024-08-10 14:06:31 debug OUT: selections it made above. Include this file in your version control repository 

2024-08-10 14:06:31 debug OUT: so that Terraform can guarantee to make the same selections by default when 

2024-08-10 14:06:31 debug OUT: you run "terraform init" in the future.�[0m 

2024-08-10 14:06:31 debug OUT:  

2024-08-10 14:06:31 debug OUT: �[33m�[33m╷�[0m�[0m 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0m�[1;37m�[33mWarning: �[0m�[0m�[1;37mAdditional provider information from registry�[0m 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0m 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0m�[0mThe remote registry returned warnings for 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0mregistry.terraform.io/hashicorp/github: 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0m- For users on Terraform 0.13 or greater, this provider has moved to 

2024-08-10 14:06:31 debug OUT: �[33m│�[0m �[0mintegrations/github. Please update your source in required_providers. 

2024-08-10 14:06:31 debug OUT: �[33m╵�[0m�[0m 

2024-08-10 14:06:31 debug OUT: �[0m�[0m 

2024-08-10 14:06:31 debug OUT: �[0m�[1;37m�[32mTerraform has been successfully initialized!�[0m�[32m�[0m 

2024-08-10 14:06:31 debug OUT: �[0m�[32m 

2024-08-10 14:06:31 debug OUT: You may now begin working with Terraform. Try running "terraform plan" to see 

2024-08-10 14:06:31 debug OUT: any changes that are required for your infrastructure. All Terraform commands 

2024-08-10 14:06:31 debug OUT: should now work. 

2024-08-10 14:06:31 debug OUT:  

2024-08-10 14:06:31 debug OUT: If you ever set or change modules or backend configuration for Terraform, 

2024-08-10 14:06:31 debug OUT: rerun this command to reinitialize your working directory. If you forget, other 

2024-08-10 14:06:31 debug OUT: commands will detect it and remind you to do so if necessary.�[0m 

2024-08-10 14:06:31 debug  export GITHUB_TOKEN = **************************************** 

2024-08-10 14:06:31 debug  export TF_VAR_kbot_ssh_public_key = ********************************************************************************* 

2024-08-10 14:06:31 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:06:31 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:06:31 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:06:31 debug  export GITHUB_OWNER = *************** 

2024-08-10 14:06:31 debug  export TF_VAR_atlantis_repo_webhook_secret = ******************** 

2024-08-10 14:06:31 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:06:31 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:06:31 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:06:31 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: Terraform used the selected providers to generate the following execution 

2024-08-10 14:06:37 debug OUT: plan. Resource actions are indicated with the following symbols: 

2024-08-10 14:06:37 debug OUT:   �[32m+�[0m create 

2024-08-10 14:06:37 debug OUT: �[0m 

2024-08-10 14:06:37 debug OUT: Terraform will perform the following actions: 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # github_repository_webhook.gitops_atlantis_webhook�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_repository_webhook" "gitops_atlantis_webhook" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mactive�[0m�[0m     = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m       = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mevents�[0m�[0m     = [ 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m"issue_comment", 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m"pull_request", 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m"pull_request_review", 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m"push", 

2024-08-10 14:06:37 debug OUT:         ] 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m         = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepository�[0m�[0m = "gitops" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0murl�[0m�[0m        = (known after apply) 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0mconfiguration { 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mcontent_type�[0m�[0m = "json" 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0minsecure_ssl�[0m�[0m = false 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0msecret�[0m�[0m       = (sensitive value) 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0murl�[0m�[0m          = (sensitive value) 

2024-08-10 14:06:37 debug OUT:         } 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # github_team.admins�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team" "admins" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcreate_default_maintainer�[0m�[0m = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdescription�[0m�[0m               = "administrators of the kubefirst platform" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                        = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmembers_count�[0m�[0m             = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mname�[0m�[0m                      = "admins" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mnode_id�[0m�[0m                   = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprivacy�[0m�[0m                   = "closed" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mslug�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # github_team.developers�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team" "developers" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcreate_default_maintainer�[0m�[0m = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdescription�[0m�[0m               = "developers using the kubefirst plaftform" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                        = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmembers_count�[0m�[0m             = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mname�[0m�[0m                      = "developers" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mnode_id�[0m�[0m                   = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprivacy�[0m�[0m                   = "closed" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mslug�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # github_user_ssh_key.kbot[0]�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_user_ssh_key" "kbot" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m  = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m    = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mkey�[0m�[0m   = <<-EOT 

2024-08-10 14:06:37 debug OUT:             ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICLLStUMYf5jVwjGK1g6vSCnp11u9qeqaVTdIfwHtjxO 

2024-08-10 14:06:37 debug OUT:         EOT 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mtitle�[0m�[0m = "kbot-kubefirst" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0murl�[0m�[0m   = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.gitops.github_repository.repo�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_repository" "repo" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_auto_merge�[0m�[0m            = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_merge_commit�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_rebase_merge�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_squash_merge�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0marchive_on_destroy�[0m�[0m          = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0marchived�[0m�[0m                    = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mauto_init�[0m�[0m                   = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdefault_branch�[0m�[0m              = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdelete_branch_on_merge�[0m�[0m      = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m                        = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfull_name�[0m�[0m                   = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mgit_clone_url�[0m�[0m               = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhas_issues�[0m�[0m                  = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhtml_url�[0m�[0m                    = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhttp_clone_url�[0m�[0m              = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                          = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mis_template�[0m�[0m                 = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmerge_commit_message�[0m�[0m        = "PR_TITLE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmerge_commit_title�[0m�[0m          = "MERGE_MESSAGE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mname�[0m�[0m                        = "gitops" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mnode_id�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprimary_language�[0m�[0m            = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprivate�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepo_id�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msquash_merge_commit_message�[0m�[0m = "COMMIT_MESSAGES" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msquash_merge_commit_title�[0m�[0m   = "COMMIT_OR_PR_TITLE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mssh_clone_url�[0m�[0m               = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msvn_url�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mtopics�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mvisibility�[0m�[0m                  = "private" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mweb_commit_signoff_required�[0m�[0m = false 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0msecurity_and_analysis { 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0madvanced_security { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0msecret_scanning { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0msecret_scanning_push_protection { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:         } 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.gitops.github_team_repository.team_admins�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team_repository" "team_admins" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m       = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m         = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mpermission�[0m�[0m = "admin" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepository�[0m�[0m = "gitops" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mteam_id�[0m�[0m    = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.gitops.github_team_repository.team_developers�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team_repository" "team_developers" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m       = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m         = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mpermission�[0m�[0m = "maintain" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepository�[0m�[0m = "gitops" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mteam_id�[0m�[0m    = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.metaphor.github_repository.repo�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_repository" "repo" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_auto_merge�[0m�[0m            = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_merge_commit�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_rebase_merge�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mallow_squash_merge�[0m�[0m          = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0marchive_on_destroy�[0m�[0m          = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0marchived�[0m�[0m                    = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mauto_init�[0m�[0m                   = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdefault_branch�[0m�[0m              = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdelete_branch_on_merge�[0m�[0m      = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m                        = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfull_name�[0m�[0m                   = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mgit_clone_url�[0m�[0m               = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhas_issues�[0m�[0m                  = true 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhtml_url�[0m�[0m                    = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mhttp_clone_url�[0m�[0m              = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                          = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mis_template�[0m�[0m                 = false 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmerge_commit_message�[0m�[0m        = "PR_TITLE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mmerge_commit_title�[0m�[0m          = "MERGE_MESSAGE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mname�[0m�[0m                        = "metaphor" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mnode_id�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprimary_language�[0m�[0m            = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mprivate�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepo_id�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msquash_merge_commit_message�[0m�[0m = "COMMIT_MESSAGES" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msquash_merge_commit_title�[0m�[0m   = "COMMIT_OR_PR_TITLE" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mssh_clone_url�[0m�[0m               = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0msvn_url�[0m�[0m                     = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mtopics�[0m�[0m                      = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mvisibility�[0m�[0m                  = "private" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mweb_commit_signoff_required�[0m�[0m = false 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0msecurity_and_analysis { 

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0madvanced_security { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0msecret_scanning { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT:           �[32m+�[0m �[0msecret_scanning_push_protection { 

2024-08-10 14:06:37 debug OUT:               �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m = (known after apply) 

2024-08-10 14:06:37 debug OUT:             } 

2024-08-10 14:06:37 debug OUT:         } 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.metaphor.github_team_repository.team_admins�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team_repository" "team_admins" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m       = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m         = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mpermission�[0m�[0m = "admin" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepository�[0m�[0m = "metaphor" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mteam_id�[0m�[0m    = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[1;37m  # module.metaphor.github_team_repository.team_developers�[0m will be created�[0m�[0m 

2024-08-10 14:06:37 debug OUT: �[0m  �[32m+�[0m�[0m resource "github_team_repository" "team_developers" { 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0metag�[0m�[0m       = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m         = (known after apply) 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mpermission�[0m�[0m = "maintain" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mrepository�[0m�[0m = "metaphor" 

2024-08-10 14:06:37 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mteam_id�[0m�[0m    = (known after apply) 

2024-08-10 14:06:37 debug OUT:     } 

2024-08-10 14:06:37 debug OUT:  

2024-08-10 14:06:37 debug OUT: �[0m�[1;37mPlan:�[0m 10 to add, 0 to change, 0 to destroy. 

2024-08-10 14:06:38 debug OUT: �[0m�[0m�[1;37mgithub_team.admins: Creating...�[0m�[0m 

2024-08-10 14:06:38 debug OUT: �[0m�[1;37mgithub_team.developers: Creating...�[0m�[0m 

2024-08-10 14:06:38 debug OUT: �[0m�[1;37mgithub_user_ssh_key.kbot[0]: Creating...�[0m�[0m 

2024-08-10 14:06:38 debug OUT: �[0m�[1;37mmodule.metaphor.github_repository.repo: Creating...�[0m�[0m 

2024-08-10 14:06:38 debug OUT: �[0m�[1;37mmodule.gitops.github_repository.repo: Creating...�[0m�[0m 

2024-08-10 14:06:39 debug OUT: �[0m�[1;37mgithub_user_ssh_key.kbot[0]: Creation complete after 1s [id=105678913]�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.metaphor.github_repository.repo: Creation complete after 9s [id=metaphor]�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mgithub_team.developers: Creation complete after 9s [id=10737926]�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.metaphor.github_team_repository.team_developers: Creating...�[0m�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.gitops.github_repository.repo: Creation complete after 9s [id=gitops]�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mgithub_repository_webhook.gitops_atlantis_webhook: Creating...�[0m�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.gitops.github_team_repository.team_developers: Creating...�[0m�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mgithub_team.admins: Creation complete after 10s [id=10737925]�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.gitops.github_team_repository.team_admins: Creating...�[0m�[0m 

2024-08-10 14:06:47 debug OUT: �[0m�[1;37mmodule.metaphor.github_team_repository.team_admins: Creating...�[0m�[0m 

2024-08-10 14:06:49 debug OUT: �[0m�[1;37mgithub_repository_webhook.gitops_atlantis_webhook: Creation complete after 2s [id=495142967]�[0m 

2024-08-10 14:06:52 debug OUT: �[0m�[1;37mmodule.metaphor.github_team_repository.team_developers: Creation complete after 6s [id=10737926:metaphor]�[0m 

2024-08-10 14:06:53 debug OUT: �[0m�[1;37mmodule.gitops.github_team_repository.team_developers: Creation complete after 6s [id=10737926:gitops]�[0m 

2024-08-10 14:06:53 debug OUT: �[0m�[1;37mmodule.metaphor.github_team_repository.team_admins: Creation complete after 5s [id=10737925:metaphor]�[0m 

2024-08-10 14:06:53 debug OUT: �[0m�[1;37mmodule.gitops.github_team_repository.team_admins: Creation complete after 6s [id=10737925:gitops]�[0m 

2024-08-10 14:06:54 debug OUT: �[0m�[1;37m�[32m 

2024-08-10 14:06:54 debug OUT: Apply complete! Resources: 10 added, 0 changed, 0 destroyed. 

2024-08-10 14:06:54 debug OUT: �[0m 

2024-08-10 14:06:54 info created git projects and groups for github.com/sandbox-for-Sam 

2024-08-10 14:06:54 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:07:04 info successfully pushed gitops and metaphor repositories to [email protected]/sandbox-for-Sam 

2024-08-10 14:07:04 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:07:04 info creating aws cloud resources with terraform 

2024-08-10 14:07:04 info creating vultr cluster 

2024-08-10 14:07:04 debug initActionAutoApprove - action: apply entrypoint: /root/.k1/kubefirst/gitops/terraform/vultr 

2024-08-10 14:07:04 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:07:04 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:07:04 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:07:04 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:07:04 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:07:04 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:07:04 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:07:04 debug OUT:  

2024-08-10 14:07:04 debug OUT: �[0m�[1;37mInitializing the backend...�[0m 

2024-08-10 14:07:05 debug OUT: �[0m�[32m 

2024-08-10 14:07:05 debug OUT: Successfully configured the backend "s3"! Terraform will automatically 

2024-08-10 14:07:05 debug OUT: use this backend unless the backend configuration changes.�[0m 

2024-08-10 14:07:05 debug OUT:  

2024-08-10 14:07:05 debug OUT: �[0m�[1;37mInitializing provider plugins...�[0m 

2024-08-10 14:07:05 debug OUT: - Finding latest version of vultr/vultr... 

2024-08-10 14:07:05 debug OUT: - Finding latest version of hashicorp/local... 

2024-08-10 14:07:07 debug OUT: - Installing vultr/vultr v2.21.0... 

2024-08-10 14:07:08 debug OUT: - Installed vultr/vultr v2.21.0 (signed by a HashiCorp partner, key ID �[0m�[1;37m853B1ED644084048�[0m�[0m) 

2024-08-10 14:07:08 debug OUT: - Installing hashicorp/local v2.5.1... 

2024-08-10 14:07:08 debug OUT: - Installed hashicorp/local v2.5.1 (signed by HashiCorp) 

2024-08-10 14:07:08 debug OUT:  

2024-08-10 14:07:08 debug OUT: Partner and community providers are signed by their developers. 

2024-08-10 14:07:08 debug OUT: If you'd like to know more about provider signing, you can read about it here: 

2024-08-10 14:07:08 debug OUT: https://www.terraform.io/docs/cli/plugins/signing.html 

2024-08-10 14:07:08 debug OUT:  

2024-08-10 14:07:08 debug OUT: Terraform has created a lock file �[1;37m.terraform.lock.hcl�[0m to record the provider 

2024-08-10 14:07:08 debug OUT: selections it made above. Include this file in your version control repository 

2024-08-10 14:07:08 debug OUT: so that Terraform can guarantee to make the same selections by default when 

2024-08-10 14:07:08 debug OUT: you run "terraform init" in the future.�[0m 

2024-08-10 14:07:08 debug OUT:  

2024-08-10 14:07:08 debug OUT: �[0m�[1;37m�[32mTerraform has been successfully initialized!�[0m�[32m�[0m 

2024-08-10 14:07:08 debug OUT: �[0m�[32m 

2024-08-10 14:07:08 debug OUT: You may now begin working with Terraform. Try running "terraform plan" to see 

2024-08-10 14:07:08 debug OUT: any changes that are required for your infrastructure. All Terraform commands 

2024-08-10 14:07:08 debug OUT: should now work. 

2024-08-10 14:07:08 debug OUT:  

2024-08-10 14:07:08 debug OUT: If you ever set or change modules or backend configuration for Terraform, 

2024-08-10 14:07:08 debug OUT: rerun this command to reinitialize your working directory. If you forget, other 

2024-08-10 14:07:08 debug OUT: commands will detect it and remind you to do so if necessary.�[0m 

2024-08-10 14:07:08 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:07:08 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:07:08 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:07:08 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:07:08 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:07:08 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:07:08 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:07:10 debug OUT:  

2024-08-10 14:07:10 debug OUT: Terraform used the selected providers to generate the following execution 

2024-08-10 14:07:10 debug OUT: plan. Resource actions are indicated with the following symbols: 

2024-08-10 14:07:10 debug OUT:   �[32m+�[0m create 

2024-08-10 14:07:10 debug OUT: �[0m 

2024-08-10 14:07:10 debug OUT: Terraform will perform the following actions: 

2024-08-10 14:07:10 debug OUT:  

2024-08-10 14:07:10 debug OUT: �[1;37m  # local_file.kubeconfig�[0m will be created�[0m�[0m 

2024-08-10 14:07:10 debug OUT: �[0m  �[32m+�[0m�[0m resource "local_file" "kubeconfig" { 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent�[0m�[0m              = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_base64sha256�[0m�[0m = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_base64sha512�[0m�[0m = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_md5�[0m�[0m          = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha1�[0m�[0m         = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha256�[0m�[0m       = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha512�[0m�[0m       = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdirectory_permission�[0m�[0m = "0777" 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfile_permission�[0m�[0m      = "0777" 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfilename�[0m�[0m             = "../../../kubeconfig" 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                   = (known after apply) 

2024-08-10 14:07:10 debug OUT:     } 

2024-08-10 14:07:10 debug OUT:  

2024-08-10 14:07:10 debug OUT: �[1;37m  # vultr_kubernetes.kubefirst�[0m will be created�[0m�[0m 

2024-08-10 14:07:10 debug OUT: �[0m  �[32m+�[0m�[0m resource "vultr_kubernetes" "kubefirst" { 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mclient_certificate�[0m�[0m     = (sensitive value) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mclient_key�[0m�[0m             = (sensitive value) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcluster_ca_certificate�[0m�[0m = (sensitive value) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcluster_subnet�[0m�[0m         = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdate_created�[0m�[0m           = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0menable_firewall�[0m�[0m        = false 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mendpoint�[0m�[0m               = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfirewall_group_id�[0m�[0m      = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mha_controlplanes�[0m�[0m       = false 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                     = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mip�[0m�[0m                     = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mkube_config�[0m�[0m            = (sensitive value) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mlabel�[0m�[0m                  = "kubefirst" 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mregion�[0m�[0m                 = "fra" 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mservice_subnet�[0m�[0m         = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m                 = (known after apply) 

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mversion�[0m�[0m                = "v1.28.2+1" 

2024-08-10 14:07:10 debug OUT:  

2024-08-10 14:07:10 debug OUT:       �[32m+�[0m �[0mnode_pools { 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mauto_scaler�[0m�[0m   = true 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mdate_created�[0m�[0m  = (known after apply) 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mdate_updated�[0m�[0m  = (known after apply) 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m            = (known after apply) 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mlabel�[0m�[0m         = "kubefirst-node-pool" 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mmax_nodes�[0m�[0m     = 1 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mmin_nodes�[0m�[0m     = 1 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mnode_quantity�[0m�[0m = 1 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mnodes�[0m�[0m         = (known after apply) 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mplan�[0m�[0m          = "vc2-1c-2gb" 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m        = (known after apply) 

2024-08-10 14:07:10 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mtag�[0m�[0m           = (known after apply) 

2024-08-10 14:07:10 debug OUT:         } 

2024-08-10 14:07:10 debug OUT:     } 

2024-08-10 14:07:10 debug OUT:  

2024-08-10 14:07:10 debug OUT: �[0m�[1;37mPlan:�[0m 2 to add, 0 to change, 0 to destroy. 

2024-08-10 14:07:10 debug OUT: �[0m�[0m�[1;37mvultr_kubernetes.kubefirst: Creating...�[0m�[0m 

2024-08-10 14:07:13 debug ERR: �[31m╷�[0m�[0m 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m�[1;37m�[31mError: �[0m�[0m�[1;37merror creating kubernetes cluster: gave up after 4 attempts, last error: "{\"error\":\"VKE server error: Could not add Vultr Kubernetes Engine: Invalid K8 version.\",\"status\":500}"�[0m 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m�[0m  with vultr_kubernetes.kubefirst, 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m  on main.tf line 33, in resource "vultr_kubernetes" "kubefirst": 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m  33: resource "vultr_kubernetes" "kubefirst" �[4m{�[0m�[0m 

2024-08-10 14:07:13 debug ERR: �[31m│�[0m �[0m 

2024-08-10 14:07:13 debug ERR: �[31m╵�[0m�[0m 

2024-08-10 14:07:13 debug command "/root/.k1/kubefirst/tools/terraform" failed 

2024-08-10 14:07:13 debug error: terraform apply -auto-approve for /root/.k1/kubefirst/gitops/terraform/vultr failed exit status 1 

2024-08-10 14:07:13 error error applying cloud terraform: exit status 1 

2024-08-10 14:07:13 info sleeping 10 seconds before retrying terraform execution once more 

2024-08-10 14:07:23 debug initActionAutoApprove - action: apply entrypoint: /root/.k1/kubefirst/gitops/terraform/vultr 

2024-08-10 14:07:23 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:07:23 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:07:23 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:07:23 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:07:23 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:07:23 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:07:23 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:07:24 debug OUT:  

2024-08-10 14:07:24 debug OUT: �[0m�[1;37mInitializing the backend...�[0m 

2024-08-10 14:07:24 debug OUT:  

2024-08-10 14:07:24 debug OUT: �[0m�[1;37mInitializing provider plugins...�[0m 

2024-08-10 14:07:24 debug OUT: - Reusing previous version of vultr/vultr from the dependency lock file 

2024-08-10 14:07:25 debug OUT: - Reusing previous version of hashicorp/local from the dependency lock file 

2024-08-10 14:07:25 debug OUT: - Using previously-installed vultr/vultr v2.21.0 

2024-08-10 14:07:25 debug OUT: - Using previously-installed hashicorp/local v2.5.1 

2024-08-10 14:07:25 debug OUT:  

2024-08-10 14:07:25 debug OUT: �[0m�[1;37m�[32mTerraform has been successfully initialized!�[0m�[32m�[0m 

2024-08-10 14:07:25 debug OUT: �[0m�[32m 

2024-08-10 14:07:25 debug OUT: You may now begin working with Terraform. Try running "terraform plan" to see 

2024-08-10 14:07:25 debug OUT: any changes that are required for your infrastructure. All Terraform commands 

2024-08-10 14:07:25 debug OUT: should now work. 

2024-08-10 14:07:25 debug OUT:  

2024-08-10 14:07:25 debug OUT: If you ever set or change modules or backend configuration for Terraform, 

2024-08-10 14:07:25 debug OUT: rerun this command to reinitialize your working directory. If you forget, other 

2024-08-10 14:07:25 debug OUT: commands will detect it and remind you to do so if necessary.�[0m 

2024-08-10 14:07:25 debug  export AWS_SECRET_ACCESS_KEY = **************************************** 

2024-08-10 14:07:25 debug  export TF_VAR_aws_access_key_id = ******************** 

2024-08-10 14:07:25 debug  export TF_VAR_aws_secret_access_key = **************************************** 

2024-08-10 14:07:25 debug  export AWS_SESSION_TOKEN =  

2024-08-10 14:07:25 debug  export TF_VAR_aws_session_token =  

2024-08-10 14:07:25 debug  export VULTR_API_KEY = ************************************ 

2024-08-10 14:07:25 debug  export AWS_ACCESS_KEY_ID = ******************** 

2024-08-10 14:07:26 debug OUT:  

2024-08-10 14:07:26 debug OUT: Terraform used the selected providers to generate the following execution 

2024-08-10 14:07:26 debug OUT: plan. Resource actions are indicated with the following symbols: 

2024-08-10 14:07:26 debug OUT:   �[32m+�[0m create 

2024-08-10 14:07:26 debug OUT: �[0m 

2024-08-10 14:07:26 debug OUT: Terraform will perform the following actions: 

2024-08-10 14:07:26 debug OUT:  

2024-08-10 14:07:26 debug OUT: �[1;37m  # local_file.kubeconfig�[0m will be created�[0m�[0m 

2024-08-10 14:07:26 debug OUT: �[0m  �[32m+�[0m�[0m resource "local_file" "kubeconfig" { 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent�[0m�[0m              = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_base64sha256�[0m�[0m = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_base64sha512�[0m�[0m = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_md5�[0m�[0m          = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha1�[0m�[0m         = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha256�[0m�[0m       = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcontent_sha512�[0m�[0m       = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdirectory_permission�[0m�[0m = "0777" 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfile_permission�[0m�[0m      = "0777" 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfilename�[0m�[0m             = "../../../kubeconfig" 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                   = (known after apply) 

2024-08-10 14:07:26 debug OUT:     } 

2024-08-10 14:07:26 debug OUT:  

2024-08-10 14:07:26 debug OUT: �[1;37m  # vultr_kubernetes.kubefirst�[0m will be created�[0m�[0m 

2024-08-10 14:07:26 debug OUT: �[0m  �[32m+�[0m�[0m resource "vultr_kubernetes" "kubefirst" { 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mclient_certificate�[0m�[0m     = (sensitive value) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mclient_key�[0m�[0m             = (sensitive value) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcluster_ca_certificate�[0m�[0m = (sensitive value) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mcluster_subnet�[0m�[0m         = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mdate_created�[0m�[0m           = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0menable_firewall�[0m�[0m        = false 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mendpoint�[0m�[0m               = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mfirewall_group_id�[0m�[0m      = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mha_controlplanes�[0m�[0m       = false 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m                     = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mip�[0m�[0m                     = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mkube_config�[0m�[0m            = (sensitive value) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mlabel�[0m�[0m                  = "kubefirst" 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mregion�[0m�[0m                 = "fra" 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mservice_subnet�[0m�[0m         = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m                 = (known after apply) 

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0m�[1;37m�[0mversion�[0m�[0m                = "v1.28.2+1" 

2024-08-10 14:07:26 debug OUT:  

2024-08-10 14:07:26 debug OUT:       �[32m+�[0m �[0mnode_pools { 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mauto_scaler�[0m�[0m   = true 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mdate_created�[0m�[0m  = (known after apply) 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mdate_updated�[0m�[0m  = (known after apply) 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mid�[0m�[0m            = (known after apply) 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mlabel�[0m�[0m         = "kubefirst-node-pool" 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mmax_nodes�[0m�[0m     = 1 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mmin_nodes�[0m�[0m     = 1 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mnode_quantity�[0m�[0m = 1 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mnodes�[0m�[0m         = (known after apply) 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mplan�[0m�[0m          = "vc2-1c-2gb" 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mstatus�[0m�[0m        = (known after apply) 

2024-08-10 14:07:26 debug OUT:           �[32m+�[0m �[0m�[1;37m�[0mtag�[0m�[0m           = (known after apply) 

2024-08-10 14:07:26 debug OUT:         } 

2024-08-10 14:07:26 debug OUT:     } 

2024-08-10 14:07:26 debug OUT:  

2024-08-10 14:07:26 debug OUT: �[0m�[1;37mPlan:�[0m 2 to add, 0 to change, 0 to destroy. 

2024-08-10 14:07:26 debug OUT: �[0m�[0m�[1;37mvultr_kubernetes.kubefirst: Creating...�[0m�[0m 

2024-08-10 14:07:29 debug ERR: �[31m╷�[0m�[0m 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m�[1;37m�[31mError: �[0m�[0m�[1;37merror creating kubernetes cluster: gave up after 4 attempts, last error: "{\"error\":\"VKE server error: Could not add Vultr Kubernetes Engine: Invalid K8 version.\",\"status\":500}"�[0m 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m�[0m  with vultr_kubernetes.kubefirst, 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m  on main.tf line 33, in resource "vultr_kubernetes" "kubefirst": 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m  33: resource "vultr_kubernetes" "kubefirst" �[4m{�[0m�[0m 

2024-08-10 14:07:29 debug ERR: �[31m│�[0m �[0m 

2024-08-10 14:07:29 debug ERR: �[31m╵�[0m�[0m 

2024-08-10 14:07:29 debug command "/root/.k1/kubefirst/tools/terraform" failed 

2024-08-10 14:07:29 debug error: terraform apply -auto-approve for /root/.k1/kubefirst/gitops/terraform/vultr failed exit status 1 

2024-08-10 14:07:29 error error creating vultr resources with terraform /root/.k1/kubefirst/gitops/terraform/vultr: exit status 1 

2024-08-10 14:07:29 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:07:29 info updated Secret kubefirst-cluster-kubefirst in Namespace kubefirst
 

2024-08-10 14:07:29 error error creating vultr resources with terraform /root/.k1/kubefirst/gitops/terraform/vultr: exit status 1 

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Seven45
Copy link
Author

Seven45 commented Aug 10, 2024

I have created pull request to gitops-template repo:
konstructio/gitops-template#787

@fharper
Copy link
Contributor

fharper commented Aug 12, 2024

@Seven45: thanks for the report. Vultr is still in beta, and we didn't give it love for a while, so they probably discontinued the version we were using.

@ikegentz
Copy link

Howdy all, I was just attempting to create things in Vultr today and got the same issue. Similar logs with the main culprit being Invalid k8 version like the original PR description.

I have tried the 3 most recent releases of Kubefirst and noted the same issue, including the most recent 2.7.9. This seems to be due to a difference in patch version with what's in Vultr vs in the Terraform file that gets cloned upon kubefirst beta vultr create ...?

Screenshot of Vultr versions if you were to create a cluster in the Vultr UI:

image

main.tf:

locals {
  cluster_name         = "kubefirst"
  pool_name            = "${local.cluster_name}-node-pool"
  pool_instance_type   = "vc2-4c-8gb"
  kube_config_filename = "../../../kubeconfig"
  kubernetes_version   = "v1.30.3+1"
}

...

...

@ikegentz
Copy link

I actually just bumped the version in main.tf and it worked fine. Here's a PR doing the same konstructio/gitops-template#846

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants