-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set AWS EKS cluster name #277
Comments
We generally leave autonaming on to lower the probability of the resources in two stacks ending up with conflicting names, but this does seem like a reasonable configuration point we could provide (i.e. we could optionally do what you're suggesting while still making autonaming the default behavior). |
Yes that would be ok. I just started using it with the auto name and it caused issues because in another script I needed to reference it, which I couldn't. So I had to take a copy of the while thing and add a one love change.. not ideal. The other option would be some other way to make it easier to override smaller bits of functionality |
One of the reasons that it is useful to have a known name for the EKS cluster, is that you need to add a tag to the subnets Without that tag on the subnets, AWS has problems auto-creating the load balancers required by the k8s services. See |
Hey @gregbacchus, fighting the same issue. Did you find a solution? |
The only solution that I have found is to copy the class into my project
and make the required change (only a single line, if I remember correctly)
…On Fri, 7 Feb 2020, 00:25 Icereed, ***@***.***> wrote:
Hey @gregbacchus <https://github.com/gregbacchus>, fighting the same
issue. Did you find a solution?
Otherwise I would also like to have the feature so we can preset the name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#277?email_source=notifications&email_token=AANOCSG6RY2A6UTMTZBWH7LRBPXSNA5CNFSM4JOL4F5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK6357Q#issuecomment-582860542>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANOCSDJERYQKPYSRRNBJLTRBPXSNANCNFSM4JOL4F5A>
.
|
So, what is the solution for this ? So, the whole thing stalls until timeout for 30 mins.. And, there not gonna be any messages, until you fight for some hours deleting partially resources |
You can now specify the const cluster = new Cluster(name, {
name,
// ...
}, {...}); |
When creating the
aws.eks.Cluster
, it would be great if the name property that is provided would passed in would be passed in. This way the AWS resource created will have a sensible name and will then be easily identifiable.All that is required is to pass the
name
to theaws.eks.Cluster
opts
argumentpulumi-eks/nodejs/eks/cluster.ts
Lines 332 to 334 in 79fb423
The text was updated successfully, but these errors were encountered: