Open johananl opened 4 years ago
Note: using UUID will decrease readability, which we would possibly like to have (as noted in #705). I'm personally in favor of just skipping the name
field, as then AWS will generate the UUIDs for us, which seems to be the best case. We can then use tags to identify the resources, which is a good practice anyway.
https://github.com/kinvolk/lokomotive/blob/e41922b7428ed2e0053779d4c3e528951be26910/pkg/platform/aws/aws.go#L264-L265
When trying to create a worker pool named
johannes-test-pool1
I'm getting the following error:I think this is way too limiting. Some AWS resources (e.g. ASG names) allow much long names. Perhaps we should handle the length limitation for each resource type individually e.g. by truncating the name if it's too long and/or by using some form of UUID which can be short and unique. Limiting everything based on the resource with the lowest limit isn't a good idea IMO.