![]() #df_p1 = pd.Series(dtype='object', name='test4') #df_j1 = pd.Series(dtype='object', name='test3') #df_g1 = pd.Series(dtype='object', name='test2') #df_a1 = pd.Series(dtype='object', name='test1') If I move them out of the function then it works, however when I get to the merge portion of my code I am getting an error saying that says "cannot merge a series without a name" I gave them a name using the name= object and Im still getting this issue. The errors am getting errors consist of saying that my 6 global variables (df_a1-df_aq) are not defined. That part is working! I have added my python script (which works on my local drive) portion to the lambda function w/in the code section of lambda. I have my s3 bucket created and I have setup the lambda to trigger when a new file is added. ![]() (future state) perform analysis on the new json file. store the output to the same s3 bucket in a separate folder - > 4. upload triggers a lambda to run (inside this lambda is a python script that modifies the data source. Heres my plan for what I want to do and please let me know if this makes sense: If anyone has any tips for troubleshooting Id appreciate it! Im getting a lot of errors in my code and Im not sure the best way to troubleshoot other than look at the cloudwatch console and adjust things as necessary. Im new to AWS Lambda so please take it easy on me :) Print(f"Identity: ")įor b in session.resource("s3").buckets.all(): Role_expiration = time.gmtime(role_creds / 1000)Īws_access_key_id=role_creds,Īws_secret_access_key=role_creds,Īws_session_token=role_creds, Role_creds = session.client("sso", sso_region).get_role_credentials( Raise RuntimeError("Timeout while waiting for authorization") GrantType="urn:ietf:params:oauth:grant-type:device_code",ĭeviceCode=device_authorization,Įxcept sso_: Urlopenner(device_authorization)ĭevice_authorization // device_authorization Sso_oidc = session.client("sso-oidc", sso_region)ĭevice_authorization = sso_oidc.start_device_authorization(ĬlientSecret=client_creds, Urlopenner: typing.Callable, None] = lambda url: print( The sequence is based on the AWS examples available and provided below, it worked perfectly until recent hours.ĭoes anyone experience the same? What is the right channel to provide the information to AWS? I try to manually trigger SSO with a test program, I get the exception: :Īn error occurred (InternalServerException) when calling the GetRoleCredentials operation (reached max retries: 4): internal error The AWS management console works, however, 3rd party desktop applications are not working, this is across the board issue. Starting in recent hour today we cannot login using SSO from external (standalone) applications, we have done no change in our side.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |