Hi all, We're using `pulumi_eks` python library t...
# aws
h
Hi all, We're using
pulumi_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:
Copy code
#!/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.
@alert-zebra-27114
e
Do you have a repro? My team would love to take a look if you file under pulumi/pulumi-eks
h
Thanks for reaching out.
e
Thanks @quick-house-41860 for the fix --^