Skip to content
View aws-scripting-guy's full-sized avatar
Block or Report

Block or report aws-scripting-guy

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. cform-VSCode cform-VSCode Public

    CloudFormation extension for Visual Studio Code

    PowerShell 86 35

  2. lambda-s3-bucket-logging lambda-s3-bucket-logging Public

    Examples of lambda solutions

    PowerShell 3 2

  3. blog blog Public

    Notes from the field. AWS, PowerShell, Automation, Compliance

    2

  4. dummy-extension dummy-extension Public

    Testing integration with Azure Pipelines

  5. 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
    2
    curl http://169.254.169.254/latest/meta-data/iam/info
    3
    
                  
    4
    # Get credentials
    5
    curl http://169.254.169.254/latest/meta-data/iam/security-credentials/<role-name>
  6. Get AWS account id inside Lambda fun... Get AWS account id inside Lambda function programmatically - python
    1
    def lambda_handler(event, context):
    2
    
                  
    3
        # Get Account Id from lambda function arn
    4
        print "lambda arn: " + context.invoked_function_arn
    5