https://pulumi.com logo
#aws
Title
c

cuddly-dusk-95227

10/20/2020, 11:46 AM
question about EKS; it seems that creating clusters with
eks.NewCluster
results in the cluster name having a random suffix attached. This might be fine for creation, but it also applies to imports, leaving a situation where an existing cluster can never be imported because the source name and the imported resource name is different.
g

gentle-diamond-70147

10/20/2020, 5:25 PM
This is due to the Auto-Naming functionality in pulumi - https://www.pulumi.com/docs/intro/concepts/programming-model/#autonaming. You can override this by setting an explicit
name
as described in that same section.
c

cuddly-dusk-95227

10/20/2020, 9:52 PM
thanks! I swear I tried this and got a "This struct does not contain property Name" (or similar) - I'll try and report back 🙂
ok works, I must have pebcaked 😛