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

Cloudwatch rule to match ssm hierarchy

I'd like to create a cloudwatch rule to trigger an action whenever a SSM parameter in a given hiearchy is updated (in my example anything in the /config hierarchy) If I put a rule matching the whole name of the parameter the action gets triggered…
0
votes
1 answer

Use SSM Document to check a particular application installation

I'm trying to use AWS SSM Document RunPowerShellScript action to check if a particular application is installed on Windows servers. The PowerShell script is very simple, but Doucment validation keeps failing. The PowerShell script does contain a…
Tomking Chen
  • 343
  • 3
  • 17
0
votes
1 answer

AWS assume role not working as expected with boto3

I want to use aws SSM to do ssm:DescribeInstanceInformation on ec2 instances (i-0691847a77) by assuming an IAM role (iam_ssm_role) which has below policy defined. both the IAM roles are on same aws account & iam_base_role arn has been added as…
rkj
  • 671
  • 3
  • 14
  • 25
0
votes
0 answers

Issue with AWS SSM, Cognito and IAM

I've got an issue where a Cognito-authenticated user seems to have the correct permissions to interact with SSM, but all calls to SSM are being rejected. Here's what my policy looks like: Cognito Role Of course in a production environment we won't…
0
votes
0 answers

Where can an absolute beginner learn to string CloudWatch alarms to Lambda, and then to AWS-RunRemoteScript in SSM?

I'm working with a legacy Adobe ColdFusion stack (there are plans to redevelop using something more contemporary), and we have an issue whereby very occasionally, the CPU will spike and we need to restart ColdFusion and IIS on the Windows EC2…
0
votes
1 answer

`aws ssm start-session` not working from inside docker container

i have a docker container based off https://github.com/bopen/docker-ubuntu-pyenv/blob/master/Dockerfile ...where i'm installing the aws-cli and would like to use aws ssm to access a remote instance. i've tried starting the container with…
tronjavolta
  • 737
  • 5
  • 16
0
votes
1 answer

Unable to use ssm client.put_parameter() providing the Tier parameter

When I try to use SSM client.put_parameter() providing the Tier parameter, I get the following error: Parameter validation failed: An unknown parameter in input: "Tier", must be one of Name, Description, Value, Type, KeyId, Overwrite,…
Aswath
  • 811
  • 7
  • 20
0
votes
1 answer

aws ssm create_activation api is failing with regex error

I am trying to activate the AWS ec2 instance at ssm manager using the boto3 api call however its failing with regex error. Issue is already raised at https://github.com/aws/aws-sdk-js/issues/2748 but no proper solution found response =…
vini
  • 87
  • 12
0
votes
2 answers

I have two columns and I want to combine both not by concat just combining one row below the other

I got two columns Named 'Next Schedule Date' and 'Expected Scheduled Date' in Sql table. What I want exactly is to combine two columns not as a concatenation just combining them one row below the other row. I have tried unPivot but its not working.…
0
votes
1 answer

Why when I start the SSM agent on my EC2 instance I get "Unit is masked."?

I noticed that my new machine isn't registering with AWS SSM. I sshed to the EC2 machine and ran the following and got very cryptic errors: [ec2-user@ip-10-0-15-143 ~]$ sudo systemctl enable amazon-ssm-agent Failed to execute operation: Cannot send…
Ryan Shillington
  • 23,006
  • 14
  • 93
  • 108
0
votes
2 answers

When MyBatis passes multiple parameters, how to judge whether the parameter attribute exists or not?

When I use Mybatis, the DAO interface specifies that the parameter passed is called "param", which is a POJO with two attributes inside. Now I need to make different queries based on the existence of these two attributes. I don't know How to do. I…
孙宇涵
  • 9
  • 2
0
votes
0 answers

How to format the "AWS::SSM::Parameter - Policies" property in AWS CloudFormation?

I am creating an SSM Parameter via Cloudformation (AWS::SSM::Parameter). From the docs there is a "Policies" property: Policies Information about the policies assigned to a parameter. Working with Parameter Policies in the AWS Systems Manager User…
Andrew Allison
  • 1,122
  • 2
  • 13
  • 30
0
votes
1 answer

Save session output of the SSM Session Manager to an S3 bucket in another AWS Account

Is it possible to save session output of the SSM Session Manager to an S3 bucket in another AWS Account? I can't get it working, my bucket policy looks like this: { "Version": "2012-10-17", "Statement": [ { "Sid":…
joosts
  • 135
  • 3
  • 11
0
votes
1 answer

EC2 on ECS is not select in SSM

I want to execute django command ($python manage.py foo) on ecs task (ec2). I do not want to use ssh because production server. I wanted to use AWS Systems Manager Run Command or Session manager. I added the install command to Dockerfile taking the…
0
votes
1 answer

How to use @Autowired in SSM? It always cannot find mapper

I am coding a system with SSM (java), but while my debuging it with "maven build", it always report bug like this: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'categoryController': Injection of autowired…
YealonK
  • 3
  • 2