aws-ssm

How to update sudoers permission from AWS SSM [closed]

亡梦爱人 提交于 2020-03-28 06:40:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 days ago . Did anyone know how to update sudoers rights using AWS System Manager (SSM)? I want to grant my user rights equivalent to root , across ec2 instances. User is: "qaadmin" It should look like: qaadmin ALL=(root) NOPASSWD: ALL Any idea how to do it using SSM ? Thanks in advance. 来源: https://stackoverflow.com

Boto3 AWS API error responses for SSM

早过忘川 提交于 2019-12-08 03:50:35
问题 I am using a simple boto3 script to retrieve a parameter from SSM param store in my aws account. The python script looks like below: client = get_boto3_client('ssm', 'us-east-1') try: response = client.get_parameter(Name='my_param_name',WithDecryption=True) except Exception as e: logging.error("retrieve param error: {0}".format(e)) raise e return response If the given parameter is not available, I get a generic error in the response like below: An error occurred (ParameterNotFound) when