hallowed-keyboard-76328
09/11/2024, 12:44 PMpulumi_eks
python library to create AWS EKS cluster. It creates Launch Configuration (which is deprecated by AWS). When we try to change the instance type, pulumi wants to replace the LC. The new LC is created with bad user data (some hex string, e.g. 51a5d181b72de7300549a50639ec88436ed6403f
). In consequent pulumi updates, pulumi figures out that the user data is not the right one and tries to replace it with the correct one:
#!/bin/bash
/etc/eks/bootstrap.sh --apiserver-endpoint "REDACTED" --b64-cluster-ca "REDACTED" "CLUSTER_NAME"
/opt/aws/bin/cfn-signal --exit-code $? --stack REDACTED--resource NodeGroup --region REDACTED
but it fails to do so. The brand new LC is still some hex string. Pulumi updates are all green though.
Any hints are appreciated.hallowed-keyboard-76328
09/11/2024, 5:08 PMenough-garden-22763
09/12/2024, 1:09 PMhallowed-keyboard-76328
09/12/2024, 1:11 PMhallowed-keyboard-76328
09/12/2024, 1:11 PMenough-garden-22763
09/12/2024, 2:42 PM