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
-1
votes
1 answer

SSM document execution using run command failed json: cannot unmarshal array into Go struct field RunScriptPluginInput.RunCommand of type string\"

I'm creating aws ssm document in json code for one of the application installation and configuration. SSM document execution using run command failed json: cannot unmarshal array into Go struct field RunScriptPluginInput.RunCommand of type string".…
-1
votes
1 answer

Terraform - Copy AWS SSM Parameters

longtime lurker first time poster Looking for some guidance from you all. I'm trying to replicate the aws command to essentially get the parameters (ssm get-parameters-by-path) then loop through the parameters and get them then loop through and put…
-1
votes
2 answers

Create JSON value in SSM Parameter Store in Cloudformation

I need to create SSM parameter store in Cloudformation to store JSON Here is my Template Resources: WebServersSSM: Type: AWS::SSM::Parameter Properties: AllowedPattern: String DataType: text Description: WebServers…
-1
votes
1 answer

AWS SSM port forwarding not working - using newest SSM agent

Created new EC2 instance and SSM agent is installed on it. I can connect with SSM to EC2 instance using: aws ssm start-session --target i-0xyz But Port Forwarding does not work - tried: aws ssm start-session --target i-0xyz... --document-name…
Joe
  • 11,983
  • 31
  • 109
  • 183
-1
votes
1 answer

How to fix this loop that execute remote command using ssh

I'm using aws ssm to perform operation task. when executing command similar to the following (details are replaced), The value of variable i is not set correctly when being used in remote execution What's wrong with my code? aws ssm send-command…
rrr
  • 369
  • 4
  • 8
-1
votes
1 answer

AWS SSM Parameter Store

I want to access some parameter values from the Parameter Store in AWS Systems Manager in an AWS Lambda function written in Java. Can someone kindly provide me with a suitable example as how to achieve this. Thanks in Advance!!
Rohit
  • 3
  • 3
-2
votes
1 answer

Which AWS Service is good to automate long processing instances?

I want to monitor a bucket and when two files got added in to the bucket that should trigger the dragen tool instance and run the dragen command in the instance using those two files. Here in my specific command I'm using in the instance it takes…
-2
votes
2 answers

Terraform - data source aws_ssm_parameter causing enygmatic "type" errors

I am struggling with this error when trying to terraform plan: Error: Invalid dynamic for_each value │ │ on .terraform/modules/k8s_resources.nginx_controller/main.tf line 69, in resource "helm_release" "application": │ 69: for_each =…
Bertone
  • 756
  • 2
  • 9
  • 23
-2
votes
1 answer

How to delete multiple Cloudformation stacks at once?

I am trying to remove all the cloudformation stacks that name starts with 'removablestack' i am using SSM document but i am able to remove only one stack, i am not able to remove all at once. i am in a need of SSM document to remove all at…
-2
votes
1 answer

Name error - "name 'ssm_parameter_namee' is not defined",

I am trying to update the parameters in SSM parameters store and got the below error. What mistake am I doing? pls clarify. Lambda Code: #Lambda code logger = logging.getLogger() logger.setLevel(logging.INFO) ssm_client =…
-3
votes
1 answer

AWS SSM document, syntax wrong, cant create document

So i'm trying to create a SSM document with the instance ID below, so i can then link it to event bridge to trigger a powershell script based on a cloud watch alarm. I have selected Target type: /AWS::EC2::instance and then the YAML below. But it…
-3
votes
1 answer

Is there any way to store 3rd part API keys on AWS other than through secret manager?

I want to store API keys on AWS without having to pay $0.4 a month, also it has to be secure and accessible from Lambda and other functions I tried secret manager and I want a different solution like s3 maybe?
1 2 3
42
43