Closed theimowski closed 2 years ago
+ the same issue with SAM Accelerate when run 'sam sync' sam --version: 1.35.0
2021-11-12 18:26:01,094 | No Parameters detected in the template
2021-11-12 18:26:01,126 | 14 stacks found in the template
2021-11-12 18:26:01,126 | Loading physical ID mapping
2021-11-12 18:26:01,127 | Fetching stack (test-sam-sync-ws1) resources
2021-11-12 18:26:02,029 | No Parameters detected in the template
2021-11-12 18:26:02,059 | No Parameters detected in the template
2021-11-12 18:26:02,089 | No Parameters detected in the template
2021-11-12 18:26:02,119 | No Parameters detected in the template
2021-11-12 18:26:02,150 | No Parameters detected in the template
2021-11-12 18:26:02,181 | Sending Telemetry: {'metrics': [{'commandRun': {'requestId': '55656c40-ed7c-4356-aa0d-2cd52a8bad14', 'installationId': '80aa4538-5361-4b52-8291-991d8aba6ae5', 'sessionId': '5f7bf416-045e-47b0-b04c-7418336ed800', 'executionEnvironment': 'CLI', 'ci': False, 'pyversion': '3.7.10', 'samcliVersion': '1.35.0', 'awsProfileProvided': False, 'debugFlagProvided': True, 'region': '', 'commandName': 'sam sync', 'duration': 70558, 'exitReason': 'KeyError', 'exitCode': 255}}]}
2021-11-12 18:26:03,135 | HTTPSConnectionPool(host='aws-serverless-tools-telemetry.us-west-2.amazonaws.com', port=443): Read timed out. (read timeout=0.1)
Traceback (most recent call last):
File "samcli/main.py", line 12, in
We can confirm that the AWS::ApiGatewayV2::Api
is not resolved to S3 path. I will submit a pr for this.
The PR is released in SAM CLI V 1.37.0
Thanks, I can confirm this is now fixed in 1.37 :+1:
Now that I've got that part working, I've found another issue with sam sync - will create a new case with details
Description:
I'm trying to get
sam sync
command working with a stack using WebSocket API Gateway.Judging by the exception raised, API Gateway V2 seems to be unsupported by
sam sync
Steps to reproduce:
git clone https://github.com/aws-samples/simple-websockets-chat-app
sam sync --stack-name test-sam-sync-ws --debug --watch
Observed result:
Stack is created properly, but afterwards the command fails:
Expected result:
Command should work with WebSocket API Gateway
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.35.0