I try to connect terraform to IBM Cloud and I got messed up with Softlayer and IBM Cloud credentials.
I followed the instruction on IBM sites to connect my terraform to the IBM Cloud and I am confused, because I may use SL and IBM Cloud connec- tion information like API-keys etc.
I may not run terraform init and/or plan, because there are some information missing. No I am asked for the organization (var.org). Sometimes I got asked about the SL credentials. Our account started in January 2019 and I am sure not to worked with SL at all and only heard about API key from IBM cloud.
May some one have an example, how terraform.tfvars looks like to work properly together with IBM Cloud Kubernetes Service, VPC and classic infrastructure?
Thank you very much.
Jan
I recommend starting to take a look at these two tutorials, dealing with a LAMP stack on classic vertical servers and with Kubernetes and other services. Both provide step by step instructions and guide you through the process of setting up Terraform-based deployments.
They provide the necessary code in GitHub repos. For the Kubernetes sample credentials.tfvars you only need the API key: