terraform-aws-eks-node-group icon indicating copy to clipboard operation
terraform-aws-eks-node-group copied to clipboard

Allow using multiple lines of before and after userdata

Open jchanam opened this issue 2 years ago • 7 comments

what

  • Allow using multiple lines of before and after userdata

why

  • As the bash commands are added to a file, I don't see why they have to be only one line.

references

closes #123

jchanam avatar Jul 21 '22 12:07 jchanam

cc @Nuru since this validation was originally implemented in #84

See @jchanam's thread in Slack regarding this issue here: https://sweetops.slack.com/archives/CB6GHNLG0/p1658405157443729

Gowiem avatar Jul 21 '22 21:07 Gowiem

@Gowiem @Nuru Do you think we could move forward with this PR?

jchanam avatar Aug 17 '22 08:08 jchanam

@aknysh What work and testing do you need to complete the PR?

The links you've sent refer to the master status of the two lines that I've changed. I don't understand what do you need me to see there. Could you be more specific?

jchanam avatar Aug 17 '22 14:08 jchanam

@aknysh What work and testing do you need to complete the PR?

The links you've sent refer to the master status of the two lines that I've changed. I don't understand what do you need me to see there. Could you be more specific?

sorry, wrong message, you are correct you updated the lines

aknysh avatar Aug 17 '22 14:08 aknysh

@aknysh What work and testing do you need to complete the PR? The links you've sent refer to the master status of the two lines that I've changed. I don't understand what do you need me to see there. Could you be more specific?

sorry, wrong message, you are correct you updated the lines

What I wanted to point out is the example needs to be updated https://github.com/cloudposse/terraform-aws-eks-node-group/blob/master/examples/complete/fixtures.us-east-2.tfvars#L35 (this is not related to your changes, the example uses a string but the var is a list of strings)

aknysh avatar Aug 17 '22 14:08 aknysh

@aknysh What work and testing do you need to complete the PR? The links you've sent refer to the master status of the two lines that I've changed. I don't understand what do you need me to see there. Could you be more specific?

sorry, wrong message, you are correct you updated the lines

What I wanted to point out is the example needs to be updated https://github.com/cloudposse/terraform-aws-eks-node-group/blob/master/examples/complete/fixtures.us-east-2.tfvars#L35 (this is not related to your changes, the example uses a string but the var is a list of strings)

@aknysh Although it may seem a bit awkward, the example works as intended because the variable is passed as the sole member of a list.

Nuru avatar Aug 17 '22 20:08 Nuru

@jchanam I am hesitant to approve this PR because, while it resolved the confusion you experienced, I worry that it will add confusion to someone else. Please see my comment at https://github.com/cloudposse/terraform-aws-eks-node-group/issues/123#issuecomment-1218462942 and let me know what you think.

Nuru avatar Aug 17 '22 20:08 Nuru

Closing this as stale, wontfix

Nuru avatar Oct 27 '22 20:10 Nuru