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

can not capture the console operation on edit role->policy in json form. #50

Closed testuser1ab closed 4 years ago

testuser1ab commented 4 years ago

Describe the bug

When I was operation in console IAM->Roles->Summary->Policy name -> Edit policy and edit the json then save the policy json.

Console Recorder for AWS only gives me import boto3

iam_client = boto3.client('iam', region_name='xxx')

response = iam_client.list_policies()

Key operation was missing

https://console.aws.amazon.com/iam/home?#/roles/rolename$jsonEditor?policyName=policyname&section=permissions&step=edit

Related Mapping If applicable to a specific type, e.g. ec2.DescribeInstances

Related Language If applicable to a specific language output, e.g. JavaScript

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

iann0036 commented 4 years ago

Available in 0.3.34 per the above commit.

Note that due to the current health crisis, extension reviewers indicate there may be significant delays (weeks) before getting current versions published. You may wish to install locally if you intend to use this functionality before then.

Feel free to re-open if you see any issues.