Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle "." in "[ ]" as intended #12

Merged

Conversation

mizzy
Copy link
Contributor

@mizzy mizzy commented Oct 13, 2020

Hi. Thanks for the very useful tool.

I've found that if the address includes "." in "[ ]" , parts := strings.Split(key, ".") does not work as intended.

For example, if the address is aws_iam_user.users["foo.bar"], parts[1] is users["foo .

So I wrote makeParts() function to handle them as intended.

Please check this.

@fujiwara fujiwara merged commit 2419ae5 into fujiwara:master Oct 14, 2020
@fujiwara
Copy link
Owner

@mizzy Thank you! v0.0.14 released.

@mizzy mizzy deleted the handle-dots-in-square-brackets-as-intended branch October 14, 2020 23:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants