Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-2652

IAM policy name needs to be corrected in Creating an AWS IAM role docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      • Current status:
         i.  Create a file, for example `cw-iam-role-policy.json`, with the following content:
             - `cw-iam-role-policy.json` is name of the IAM policy.

      - But in Step 4, wrong IAM Policy name is reference:
       4. Attach the policy to the role by running the following command:

      $ aws iam put-role-policy \
            --role-name openshift-logger --policy-name cluster-logging-allow \
            --policy-document file://cw-role-policy.json 
      • The correct configuration should look like the following:
      aws iam put-role-policy \
      --role-name openshift-logger --policy-name cluster-logging-allow \
      --policy-document file://cw-iam-role-policy.json

       

              Unassigned Unassigned
              rhn-support-pripatil Prithviraj Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: