Description
1. What kops
version are you running? The command kops version
, will display
this information.
kops 1.19-alpha-4
2. What Kubernetes version are you running? kubectl version
will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops
flag.
k8s 1.19.2
3. What cloud provider are you using?
aws
4. What commands did you run? What is the simplest way to reproduce this issue?
applied new terraform created from kops update-cluster --target=terraform, using terraform apply
5. What happened after the commands executed?
The existing launch configurations are still attached to the ASGs, so the deletion of them will fail. You have to update the ASGs to use the launch templates through the UI or aws CLI, then run terraform apply again.
6. What did you expect to happen?
terraform would not fail on applying the new cluster terraform file
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.
You may want to remove your cluster name and other sensitive information.
8. Please run the commands with most verbose logging by adding the -v 10
flag.
Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
This is really informational only, not a bug, but I'd like this known so others that use terraform know that they have to handle the switch from launch configurations to launch templates outside of terraform and kops, since terraform will fail deleting the old launch configurations b/c they are still assigned to ASGs.