You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have trying to install EKS cluster on AWS and using TK8 repository as following EKS installation content.But i when i execute below command i have get a terraform error.
○ → pwd
/opt/kubernetes
2019-05-02 23:09:20 ⌚ cloudyanke in /opt/kubernetes
Found kubectl at /usr/bin/kubectl
2019/05/02 23:05:33 Client Version: v1.13.4
2019/05/02 23:05:33 Terraform binary exists in the installation folder, terraform version:
2019/05/02 23:05:33 Terraform v0.11.13
2019/05/02 23:05:33 starting terraform init
Terraform initialized in an empty directory!
The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
2019/05/02 23:05:33 starting terraform apply
Error: No configuration files found!
Apply requires configuration to be present. Applying without a configuration
would mark everything for destruction, which is normally not what is desired.
If you would like to destroy everything, please run 'terraform destroy' which
does not require any configuration files.
2019/05/02 23:05:33 Exporting kubeconfig file to the installation folder
2019/05/02 23:05:33 To use the kubeconfig file, do the following:
2019/05/02 23:05:33 export KUBECONFIG=~/inventory/TK8EKS/provisioner/kubeconfig
2019/05/02 23:05:33 Exporting Worker nodes config-map to the installation folder
2019/05/02 23:05:33 Creating Worker Nodes
error: no objects passed to apply
2019/05/02 23:05:33 Worker nodes are coming up one by one, it will take some time depending on the number of worker nodes you specified
○ → ls
aws-iam-authenticator config.yaml inventory provisioner terraform tk8.pem
When i investigate common.go file the terraform init command command trying to run wrong path so terraform show us to i could not initialized configuration files.
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
provider.aws: version = "~> 2.8"
provider.http: version = "~> 1.1"
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
The text was updated successfully, but these errors were encountered:
Hmm, okay, we'll take care.
But in the meanwhile with 0.7.x release and our lovely Rancher, EKS support can be provided through TPR2 (?). @ipochi@ishantanu ?
Hi,
I have trying to install EKS cluster on AWS and using TK8 repository as following EKS installation content.But i when i execute below command i have get a terraform error.
○ → pwd
/opt/kubernetes
2019-05-02 23:09:20 ⌚ cloudyanke in /opt/kubernetes
Cloning into 'eks'...
| | __ _ _ | |__ ___ _ __ _ __ __ _ _ _ | |_ ___ ___ | | __ ___ ___ | |()
| |/ /| | | || ' \ / _ | '|| '_ \ / ` || | | || __|/ __| / _ | |/ // __| / __|| || |
| < | || || |) || __/| | | | | || (| || || || | __ \ | /| < _ \ | ( | || |
||_\ _,||./ _||| || || _,| _,| _||/ _|||_|/ _|||||
Found kubectl at /usr/bin/kubectl
2019/05/02 23:05:33 Client Version: v1.13.4
2019/05/02 23:05:33 Terraform binary exists in the installation folder, terraform version:
2019/05/02 23:05:33 Terraform v0.11.13
2019/05/02 23:05:33 starting terraform init
Terraform initialized in an empty directory!
The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
2019/05/02 23:05:33 starting terraform apply
Error: No configuration files found!
Apply requires configuration to be present. Applying without a configuration
would mark everything for destruction, which is normally not what is desired.
If you would like to destroy everything, please run 'terraform destroy' which
does not require any configuration files.
2019/05/02 23:05:33 Exporting kubeconfig file to the installation folder
2019/05/02 23:05:33 To use the kubeconfig file, do the following:
2019/05/02 23:05:33 export KUBECONFIG=~/inventory/TK8EKS/provisioner/kubeconfig
2019/05/02 23:05:33 Exporting Worker nodes config-map to the installation folder
2019/05/02 23:05:33 Creating Worker Nodes
error: no objects passed to apply
2019/05/02 23:05:33 Worker nodes are coming up one by one, it will take some time depending on the number of worker nodes you specified
○ → ls
aws-iam-authenticator config.yaml inventory provisioner terraform tk8.pem
When i investigate common.go file the terraform init command command trying to run wrong path so terraform show us to i could not initialized configuration files.
2019-05-02 23:08:19 ⌚ cloudyanke in /opt/kubernetes/inventory/TK8EKS/provisioner/eks
○ → terraform init
Initializing modules...
Getting source "./modules/eks"
Initializing provider plugins...
The following providers do not have any version constraints in configuration,
so the latest version was installed.
To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
The text was updated successfully, but these errors were encountered: