-
Notifications
You must be signed in to change notification settings - Fork 84
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
IndexError: list index out of range (Convert CloudFormation Template to Terraform) #325
Comments
@shawnhankim this traceback is related to your cloudformation yaml having a Tags property with an empty list. You could omit the Tags property altogether from your cloudformation, change the Tags property to be a dictionary {}, or add at least one key value pair to the empty list. this is bad Tags: [] these work Tags:{} # this works bc of line 50 in overrides.py
# OR
Tags:
- Key: Name
Value: mytable |
|
@shawnhankim Thanks for reporting this. Did you get this template from an official AWS source? If so, we could support this. But I agree with @rowlinsonmike, that tags are usually done with a list with |
@shadycuz Thanks for your feedback and question. Yes, I directly generated the template in the AWS CloudFormation Console. |
I was also encountering this issue on a brand new AWS account where I am using AWS Organizations. I've opened #345 to resolve this issue. |
Issues:
The text was updated successfully, but these errors were encountered: