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

KeyError: 'service_account' #5

Closed
ssensini opened this issue Jul 3, 2023 · 1 comment
Closed

KeyError: 'service_account' #5

ssensini opened this issue Jul 3, 2023 · 1 comment

Comments

@ssensini
Copy link
Owner

ssensini commented Jul 3, 2023

Error during the script execution:

::: Set Secret Access Key: aws configure set aws_session_token IQoJb3JpZ2luX2VjEH8aDGV1LWNlbnRyYWwtMSJHMEUCIQCmVJhdtprVYLxO5gZyTusc28wnCD/9SYn1INdwC5z6WQIgapCvVjUsIETqtje9oWD0TfG4cvuhNaxwQ2i6V4WtzLsqnAII6
P//////////ARACGgw1NTc4NDg4MzgyMTQiDM082NZyrp3eL19N+SrwASIfo9XrK5bcSr+O3C6VD6NQ2/shpkeK1NjeU70i0C29cS+zQsGgjUB6oqqeWwPDrThy96pI10BRkW8Ye189f6sMxJy08iXTUtqIKhqvRgo6ToqQJ0mWVCfn6tPa4Q1R/rkvvU/Uw7VHmblkelk/h
cl+4ep8kpPhfi2huLP9qrhHc/S+AiKEUUAyjJcBEgcE71MMvRWtBsRZmNZf7oEasHLOVuv2/H7w8D+rtLSdOk0o4p+cc4yL7I2pJLTgBGQOcTt6TZTBab3VUMra0CdVgwoRh7QxAhLkSk4+pqQMSdkSsp64Bs6VyTNxrb6oId8u5TC85ImlBjqdAbdx5Mz3lV7aO6JPVAbGZ
fSVGMWTq8fLV+AfXPOcYRV9BHx8+U8Jz8YPt49KK7MLpLq77kRR6QJkwi996ZZwSwUh1Pu3aqsLHmP5SOcEviPGCBk7ATqosgWvyop0ylEhpv93L1ovVjj+9iwsaXc1qmZjO1EbGrPCRyTnvLRU80hYijD6trDpwyUfSwaBHt3qHjSJdVUFPQKZLSvLxG8= --profile ek
s-assumed-profile :::

OK
Completed.

::: Assume role: aws eks update-kubeconfig --name EKS-Cluster01 --profile eks-assumed-profile --region eu-central-1 :::

Traceback (most recent call last):
  File "/opt/dedalus/projects/EKS-Utils/init.py", line 457, in <module>
    main()
  File "/opt/dedalus/projects/EKS-Utils/init.py", line 438, in main
if None != result["service_account"]:
KeyError: 'service_account'
ssensini added a commit that referenced this issue Jul 3, 2023
@ssensini
Copy link
Owner Author

ssensini commented Jul 3, 2023

Missing check on the service_account key within the config.json file. Fixed

@ssensini ssensini closed this as completed Jul 3, 2023
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

No branches or pull requests

1 participant