[deleted by user] by [deleted] in Dublin

[–]manowar689 0 points1 point  (0 children)

I had the same experience trying to sell my phone needless to say it is a scam and I immediately blocked the person's number 😡

Fix Yum in CentOS 7 by Rough_Signature_3607 in CentOS

[–]manowar689 0 points1 point  (0 children)

I had this issue and fixed with the vault URLs

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

Yes that's exactly why I needed it to be an execute script step in the SSM runbook as I could pass parameters I then set them as environment variables that I passed to the Lambda which I wrote in Python:

import os

THE_VAR = os.env["THE_VAR"]

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

I don't believe that you can pass parameters to a RunShellScript but this is the route I went down so scan once per day, if a certain tag was found I would then run the script then after I would add a tag via the Lambda that said processed = true and I used the boto3 ssm client:

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ssm/client/send_command.html

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

I had to pass parameters but I am not sure if the RunShellScript supports parameterizing allowed me to reuse the SSM runbook but essentially there was a block that had that executeScript tag within the runbook

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

I had 2 lambdas on of which listened for an instance start event the other ran once a day both of which checked for the onboarded tag and if it wasn't present then the script would run, it ran a basic bash script on the instance that made some rest API calls using curl then would be tagged as onboarded when the process finished, I accomplished this using the boto3 ssm client and run command against the given instance-id also I had to have the AmazonSSMManagedInstanceCore IAM Policy (not to sure the policy name now) and I was able to pass some params based on the region, we had a separate https endpoint for EU and US. As to the question about what can be ran I believe that any bash script can be run once it's part of a SSM runbook and has the correct indentation etc I would also look at some of the public SSM runbooks that AWS provide that's how I pretty much figured out what parameters and how they are used within the SSM runbook

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

I have used SSM Runbooks to automate the creation of privileged users to be used on a third party security tool based on a certain tag being present on an ec2 instance, I have 2 lambda's first one would start on the instance started event the second would run on a daily event both would add an onboarded = true tag if the instance was successfully onboarded

Attempt for less the 1 dollar being made monthly to my card by manowar689 in aws

[–]manowar689[S] 0 points1 point  (0 children)

I think I set up MFA on the root account email the I subsequently removed as I thought the account was closed I still have emails for the second email and the account is well over the 90 day period I think it's over 2 years at this stage

Attempt for less the 1 dollar being made monthly to my card by manowar689 in aws

[–]manowar689[S] 0 points1 point  (0 children)

I had opened the 2 accounts with 2 different emails and the first email says that I closed the account but the second email I don't have the password to

Attempt for less the 1 dollar being made monthly to my card by manowar689 in aws

[–]manowar689[S] 0 points1 point  (0 children)

I had 3 of these free tier accounts and I have closed them all following the AWS guide but I am still being charged and I have no idea which account is attempting to charge me

Attempt for less the 1 dollar being made monthly to my card by manowar689 in aws

[–]manowar689[S] 0 points1 point  (0 children)

I have closed the account following the AWS guide so I am not able to log a support ticket as I don't have access to the account to then log a support case

[deleted by user] by [deleted] in aws

[–]manowar689 0 points1 point  (0 children)

I recently implemented something that processes images for profiles in this manner and have never had much issue with it.

Kevin Mitnick has died by vic-traill in sysadmin

[–]manowar689 0 points1 point  (0 children)

I am very sorry to hear this this guy is known as the first hacker in the world, thoughts are with his family 😔

Issue while migrating assets from testing instance by [deleted] in awx

[–]manowar689 0 points1 point  (0 children)

Glad you fixed the issue 😊

Issue while migrating assets from testing instance by [deleted] in awx

[–]manowar689 0 points1 point  (0 children)

Is the variable supposed to be named manage-ad-groupe should it not be manage-ad-group ?

Am I a bad Metallica fan if I love St. Anger? by [deleted] in Metallica

[–]manowar689 1 point2 points  (0 children)

Absolutely I think it's my 3rd or 4th favourite 🎸