PowerShell, AWS, Infra as Code. Efficiency, Automation, Doing.
- in the Clouds
- https://us-east-1.zone
Pinned Loading
-
-
lambda-s3-bucket-logging
lambda-s3-bucket-logging PublicExamples of lambda solutions
-
-
AWS EC2 metadata. Check attached IAM...
AWS EC2 metadata. Check attached IAM role from EC2 instance. Get temporary credentials. 1# Get IAM Role name from Instance Profile Id
2curl http://169.254.169.254/latest/meta-data/iam/info
34# Get credentials
5curl http://169.254.169.254/latest/meta-data/iam/security-credentials/<role-name>
-
Get AWS account id inside Lambda fun...
Get AWS account id inside Lambda function programmatically - python 1def lambda_handler(event, context):
23# Get Account Id from lambda function arn
4print "lambda arn: " + context.invoked_function_arn
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.