awless icon indicating copy to clipboard operation
awless copied to clipboard

v0.1.11 awless show always showing an error about unable to resolve unique type for lambdas

Open FilBot3 opened this issue 7 years ago • 4 comments

Using v0.1.11, I get the following error for most show commands.

[error]   cannot resolve unique type for resource 'arn:aws:lambda:us-west-2:355527942128:function:VPN_Slack_Update', got: [0xc42d73e2d0 0xc42ee266c0]

FilBot3 avatar Jun 28 '18 16:06 FilBot3

Thanks for reporting. Can you give details about your lambda function (output of aws-cli get-function-configuration)?

hbi-wallix avatar Aug 22 '18 08:08 hbi-wallix

In my case I have similar issue and here is requested output: { "FunctionName": "kinesis-scaler-prod-kinesisScaler", "LastModified": "2018-08-10T17:27:02.711+0000", "RevisionId": "bc3e9b8e-c62b-41da-9b17-a7aasb8df", "MemorySize": 128, "Environment": { "Variables": { "bytethreshold": "100000", "streamname": "search-results-stream", "statemachinearn": "arn:aws:states:us-east-1:xxxxxxxx:stateMachine:KinesisScalerChecker", "cloudwatchlarmsprefix": "search-results-stream", "requestthreshold": "100", "shardbuffer": "35" } }, "Version": "$LATEST", "Role": "arn:aws:iam::xxxxxxx:role/kinesis-scaler-prod-us-east-1-lambdaRole", "Timeout": 30, "Runtime": "nodejs6.10", "TracingConfig": { "Mode": "PassThrough" }, "CodeSha256": "NOTREALSADe3HxL4sqatnowW9hRNISc2p7xAG+lwjg=", "Description": "", "VpcConfig": { "SubnetIds": [], "VpcId": "", "SecurityGroupIds": [] }, "CodeSize": 7584372, "FunctionArn": "arn:aws:lambda:us-east-1:xxxxxxxxxxx:function:kinesis-scaler-prod-kinesisScaler", "Handler": "handler.scaller" }

jahmad-fareportal avatar Oct 11 '18 20:10 jahmad-fareportal

+1

here's my get-function-configuration:

❯ aws lambda get-function-configuration --function-name earth

{
    "FunctionName": "earth",
    "FunctionArn": "arn:aws:lambda:us-east-1:xxx:function:earth",
    "Runtime": "python2.7",
    "Role": "arn:aws:iam::xxx:role/lambda_basic_execution",
    "Handler": "lambda.lambda_handler",
    "CodeSize": 18362355,
    "Description": "Earth SNS topic",
    "Timeout": 3,
    "MemorySize": 128,
    "LastModified": "2018-06-08T18:34:40.679+0000",
    "CodeSha256": "XXXXXX0pt6IJ9d4bN0n7Q=",
    "Version": "$LATEST",
    "VpcConfig": {
        "SubnetIds": [],
        "SecurityGroupIds": [],
        "VpcId": ""
    },
    "TracingConfig": {
        "Mode": "PassThrough"
    },
    "RevisionId": "xxx-3b36-4b1f-8032-xxx"
}

hectorv avatar May 07 '19 18:05 hectorv

Hello, Have anyone find a solution, I've got the same issue. Thanks.

ntremblier avatar Oct 22 '19 15:10 ntremblier