Skip to content
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

Prevent error when use json IAMfile. #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Prevent error when use json IAMfile. #47

wants to merge 1 commit into from

Conversation

yukimochi
Copy link

From 0.2.4 (support exclude option in ruby DSL) json type IAMfile couldn't works.
Prevent no exclude key error to resolve this trouble.

@aibou
Copy link
Contributor

aibou commented Oct 23, 2019

Hi @yukimochi , sorry for late response.

I will investigate this error soon, so could you show me the error messages or the command to reproduce on my machine?

@yukimochi
Copy link
Author

Thanks for reply.

The way to reproduce is below.

  1. export any IAM as JSON file.
    miam -e -o IAMfile.json
  2. apply (or dry-run) from their JSON file.
    miam -a --dry-run -f IAMfile.json
  3. error is reproduce.
root@022aa1589c28:~/miam# bundle exec miam -a --dry-run -f IAMfile.json
Apply `IAMfile.json` to IAM (dry-run)
[ERROR] no implicit conversion of nil into Array
  • Miam use .json extention to detamine file format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants