Questions tagged [ssm]

Use this tag when your question has to be with problems or doubts about the AWS Systems Manager product.

AWS Systems Manager is a collection of capabilities for configuring and managing Amazon EC2 instances, on-pr.emises servers and virtual machines, and other AWS resources at scale.

Systems Manager gives you a complete view of your infrastructure performance and configuration, simplifies resource and application management, and makes it easy to operate and manage infrastructures.

More information can be found in the AWS help center

168 questions
1
vote
0 answers

Cross Region Lambda Function SSM

I have a Cloudformation template that creates several SSM configurations to include a custom default patch baseline. I included a simple Lambda Function that will set the custom patch baseline as the default with a custom resource within…
mitechniq
  • 151
  • 1
  • 1
  • 8
1
vote
1 answer

Issue with BitBucket pipeline YAML syntax

I have created a bitbucket-pipelines.yml file to test a powershell script that can run on remote AWS instance. image: python:3.5.1 pipelines: custom: default: - step: caches: - pip script: -…
Technext
  • 7,887
  • 9
  • 48
  • 76
1
vote
0 answers

AWS : The security token included in the request is invalid

Running the lambda locally and I get the error. AWS.config.update({ region: 'ap-southeast-1', accessKey: 'xx', secretAccessKey: 'xxx', }); { UnrecognizedClientException: The security token included in the request is invalid. at…
Scott Jones
  • 175
  • 2
  • 12
1
vote
1 answer

SSMMaintenanceWindow unable to pass input parameter to AUTOMATION document using AWS powershell

I am trying to attach automation task with maintenancewindow using AWS powershell. I am trying to pass input parameters to the automation document. But its not working. When I see the document after attaching the input parameter value is empty. Not…
1
vote
1 answer

How to use AWS CloudFormation templates with Simple System Management and ElasticBeanstalk

I am trying to use AWS CloudFormation templates together with SSM and ElasticBeanstalk, but get the following error: Service:AmazonCloudFormation, Message:Stack named 'awseb-e-dg6tmg2rmj-stack' aborted operation. Current state:…
Smolvis
  • 23
  • 6
1
vote
0 answers

in ssm,pass validation data to controller with ajax call,but ModelAndView can not return page

this is a ssm project,i can use ajax or modelAndView alone successfully,but when i integrate them,it fails.Here is my code and runtime picture(i wish you explain how it wroks and so i appreciate you):jsp code: div class="div_style" input…
aimyew
  • 11
  • 4
1
vote
0 answers

java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.getAnnotationAttributes

guys.I am new here. I try to run a simple JUnit test case for spring service class and dao class, but it fails and I get this exception. It is a maven project and I use the tomcat v7.0. I will show the Failure trace in following .It has no…
Jame Lee
  • 11
  • 4
1
vote
1 answer

AWS CLI describe-instances inconsistency

I have a Bamboo task that invokes a batch file on a remote EC2. That batch file executes a test, then calls a PowerShell script to parse the test.Finally I grab the instance Id of our bamboo server and send the results of the test back via ssm. My…
J_sdev
  • 341
  • 1
  • 13
1
vote
1 answer

aws ssm send command not working in Ubuntu servers

I just started exploring aws system manager feature. I am using python 3.6 and boto3 to test ssm. I have created the Ubuntu server EC2(t2 micro) and assigned the IAM role with policy "AmazonEC2RoleforSSM", which as per my knowledge should allow…
Bikas Katwal
  • 1,895
  • 1
  • 21
  • 42
1
vote
0 answers

Spring State Machine: Wrong state in StateMachineListener.stateMachineStopped()

Inside the stateMachineStopped method, when asking the state machine for its current state, I sometimes get the wrong state. It gives me the state before the last transition. However, the right state is returned in the code following the last state…
Jan Goyvaerts
  • 2,913
  • 4
  • 35
  • 48
1
vote
1 answer

error when using EC2 SNS with SSM (Systems Manager)

I'm trying to use AWS's SNS with SSM but getting an error about roles. Here's the error: botocore.errorfactory.InvalidRole: An error occurred (InvalidRole) when calling the SendCommand operation: ServiceRoleArn is not valid: arn:aws:iam::
user1090661
  • 111
  • 7
1
vote
0 answers

Using vtkPCAAnalysisFilter for statistical shape modeling in python

I am trying to build a statistical shape model using vtk. Procrustes Alignment and Principal Component Analysis functions are already available in vtk, and there are python examples for them. However, I have difficulties to access the outcomes from…
lvl0l27
  • 47
  • 6
1
vote
2 answers

spring-simple-memcache - maven dependencies for ReadThroughSingleCache

Has anyone used spring simple memcached? I have not been able to get the exact maven dependency and the repository where this is available. The dependencies mentioned on the code.google page (http://code.google.com/p/simple-spring-memcached/)…
gotz
  • 539
  • 2
  • 8
  • 23
0
votes
0 answers

Can you create a Go struct containing only the attributes received by the instance?

I'm using the AWS SDK for Go to get parameters from SSM. In order to instantiate an SSM client, I have to pass a session struct with params such as region, credentials and endpoint. &aws.Config{ Region: aws.String("us-east-1"), …
Caio B
  • 25
  • 1
  • 3
0
votes
1 answer

Variable assignment inside AWS ssm does not work

I am trying to run below command on AWS SSM: Parameters = @{ commands = @( "Write-Host userid is $userID password $($password)" '$userID2 = $userID' '$password2 = $password' "Write-Host userid…
tavier
  • 1,744
  • 4
  • 24
  • 53