iann0036 / AWSConsoleRecorder

Records actions made in the AWS Management Console and outputs the equivalent CLI/SDK commands and CloudFormation/Terraform templates.
MIT License
1.43k stars 86 forks source link

CFN template for "launch vpc wizard" invalid #23

Open treaz opened 5 years ago

treaz commented 5 years ago

Describe the bug The CFN template created for the "launch vpc wizard" is invalid.

Steps to reproduce the behavior:

  1. Start the recorder
  2. Go to VPC
  3. Click on 'Launch vpc wizard'. Don't change anything, just give the name and click "create VPC"
  4. Stop recording and try to create a CFN stack with the output.
  5. CFN cannot create the stack because of the same id for all the resources.

Expected behavior The CFN stack is successfully created.

Additional context I've attached the invalid cfn template that was generated by the recorder. console_cfn.txt

iann0036 commented 5 years ago

Hi Horia,

I've got it to a point where it should create a valid template for the first VPC wizard only (ready for use in 0.3.10). They are incredibly difficult to do the mappings for so might be some time.

Thanks again for helping find these issues!

treaz commented 5 years ago

Wow, that's indeed difficult and cumbersome. You could just remove the functionality. Maybe get the plugin to show a popup that it's not a supported feature.