Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-2791

Quotes are missing for mentioned command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • RHODS_1.5.0_GA
    • Documentation
    • None
    • 1
    • False
    • False
    • devel-ack, doc-ack
    • No
    • No
    • No
    • N/A
    • None

      Description of problem:

      Chapter-2 of Integrating data from Amazon S3, under procedure section. Observed that " "  are missing for environment variable and also of s3 which present under iii point

      1.Define your credentials.
      key_id = os.environ.get(AWS_ACCESS_KEY_ID)
      secret_key = os.environ.get(AWS_SECRET_ACCESS_KEY)

      2. Define the client connection.

      s3_client = boto3.client(s3, aws_access_key_id=key_id, aws_secret_access_key=secret_key)

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. <steps>

      Actual results:

      Expected results:

      it should be as mentioned below:

      1.Define your credentials.
      key_id = os.environ.get("AWS_ACCESS_KEY_ID")
      secret_key = os.environ.get("AWS_SECRET_ACCESS_KEY")

      2. Define the client connection.

      s3_client = boto3.client("s3", aws_access_key_id=key_id, aws_secret_access_key=secret_key)
      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Workaround:

      Additional info:

              rhn-ecs-lbailey Laura Bailey
              takumar@redhat.com Tarun Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: