ZupIT/ritchie-formulas

[BUG] RIT AWS ADD TERRAFORM-EKS isn't working as expected

GuillaumeFalourd opened this issue · 0 comments

What happened:

The RIT AWS ADD TERRAFORM-EKS command doesn't work as expected.

What you expected to happen:

When executing the RIT AWS ADD TERRAFORM-EKS command, the main.tf file of the terraform project doesn't update the terraform required providers as expected.

This method mergeMain should add the required providers set on this template to the project main.tf, and that's not happening.

How to reproduce it (as minimally and precisely as possible):

Step 1: RIT AWS GENERATE TERRAFORM-PROJECT
Step 2: cd project_name
Step 3: RIT AWS ADD TERRAFORM-VPC
Step 4: RIT AWS ADD TERRAFORM-EKS
Step 5: Check the main.tf file from the project at line 12.

Environment:

  • Ritchie version: 2.X.Y
  • Operating System: Any
  • Network plugin / Tool and version (if this is a network-related / tool bug): N/A
  • Others: