Questions tagged [aws-ssm]

AWS Systems Manager (formerly Amazon EC2 Systems Manager) is a unified interface that allows you to easily centralize operational data and automate tasks across your AWS resources.

AWS Systems Manager is a agent that can be installed and run on EC2 instances allow has various capabilities like running commands on these EC2 instances, help push data to Cloudwatch etc. Do take a look at http://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html for more info.

645 questions
2
votes
1 answer

How to hide terraform aws_ssm_parameter values

I have an SSM parameter created with type SecureString and key-value as (pasword=Passwor@d123). I am trying to fetch the value using data resources where the value is getting printed in plan output. data "aws_ssm_parameter" "foo" { name =…
2
votes
1 answer

Cache async API result outside of AWS Lambda execution handler

Was looking at using the SSM Parameter Store SDK to grab secrets for a lambda function. I'm also using epsagon to wrap the async handler function. Epsagon needs to be initialized with some secrets, and then is used to wrap the handler…
2
votes
1 answer

AWS creds error when making calls from local react app "Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1"

I'm getting the following error when running my react app locally which make an api request to AWS via the AWS-SDK: CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 I've tried: I've tried…
DonJuanEco
  • 133
  • 2
  • 10
2
votes
1 answer

What is the best way to save credentials in lambda?

I need to access some credentials on lambda functions and one way to do that is to put them in environment variables. However, the values of these credentials are visible in the lambda console. I am thinking to put them in secret manager or…
Joey Yi Zhao
  • 37,514
  • 71
  • 268
  • 523
2
votes
1 answer

AWS Cloudformation SSM automation document | use with aws cloudformation package

in AWS Cloudformation I could use the cloudformation package command via CLI. This works for example with Lambdas: lambda: Type: AWS::Lambda::Function Properties: Handler: helloWorld.lambda_handler Role: !GetAtt lambda.Arn …
2
votes
2 answers

SSM Automation Run Command is not longer than default 3600 seconds

I have been working with AWS Systems Manager and I have created a Document to run a command, But it appears there is no way to overwrite the timeout for a run command in an SSM I have changed the execution timeout here in the parameters but does not…
Miguel Garcia
  • 35
  • 2
  • 8
2
votes
3 answers

Can we retrieve the values from SSM parameter store and pass it as an input to AWS step function?

I have a step function that requires ARN's of lambda function. These Lambda functions are created using terraform scripts and ARN's of this are stored in the SSM parameter store. I want to retrieve these ARN's from the parameter store and pass it as…
2
votes
2 answers

Automating the installation of CloudWatch agent

I just want to know if there are other ways to approach this problem: I have an AWS multi account setup. The EC2's are going to be monitored over all the accounts and when alerts are triggered via sns there is a mail going to be sent. For all EC2's…
2
votes
1 answer

What AWS services use AWS lambda behind the scenes?

We were in the process of setting up AWS Config Rules and came across a bug in one of the AWS managed rules. During our conversation with the AWS support person, he has revealed that the AWS Config Rules are processed by AWS Lambda functions behind…
devopseng
  • 39
  • 1
  • 3
2
votes
2 answers

How to use StringMap parameters in SSM documents?

I have the following step in a SSM document. The result of the call is a Json, so I wanted to parse it as a stringMap (which seems to be the correct type for it) instead of creating an output for each variable I want to reference I've tried…
2
votes
1 answer

Is it possible to read aws-ssm parameter store values with android?

I am trying to access values stored in aws-ssm parameter store with my mobile application based on android. There is support in android for nearly every aws service, but not for…
GC268DM
  • 403
  • 7
  • 15
2
votes
1 answer

How to get past errors using putParameter with aws-sdk for nodejs in Lambda?

I'm trying to set a parameter using putParameter in the AWS SDK for JavaScript in Node.js. In particular, I'd like to take advantage of the "Advanced" Tier, with an Expiration policy and Tags if possible. When I execute my code, I keep getting…
2
votes
1 answer

How can i get a list of running processes on my running EC2 instance uisng SSM?

I want to get a list of processes running on my EC2 instance(Linux, windows or whatever) using a script. I researched a bit and got to know I will have to install SSM agent on my instance and then create document containing command to list…
ahmer
  • 25
  • 1
  • 1
  • 6
2
votes
1 answer

Using AWS SSM Parameter Store for TypeORM config in NestJS

I have a simple NestJS application running on AWS Lambda. I am using the AWS SSM Parameter Store to keep database connection information and credentials. When I import TypeORM I use the parameters already retrieved from the store. Right now I am…
nfdavenport
  • 475
  • 1
  • 4
  • 10
2
votes
3 answers

AWS CLI SSM get-parameters InvalidParameters on Windows

I'm using GitBash v2.17.0 AWS CLI v1.16.67 Windows 10 Problem I've created a SecureString parameter in the AWS SSM Parameter Store. For sake of example, let's call the parameter /levelOne/levelTwo I'm trying to retrieve the parameter…
GreenyMcDuff
  • 3,292
  • 7
  • 34
  • 66