You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Package.swift
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ let package = Package(
57
57
.target(
58
58
name:"AWSLambdaDeploymentDescriptor",
59
59
dependencies:[
60
-
.product(name:"Yams",package:"Yams")
60
+
.product(name:"Yams",package:"Yams"),
61
61
],
62
62
path:"Sources/AWSLambdaDeploymentDescriptor"
63
63
),
@@ -69,7 +69,10 @@ let package = Package(
69
69
description:"Deploy the Lambda ZIP created by the archive plugin. Generates SAM-compliant deployment files based on deployment struct passed by the developer and invoke the SAM command."
70
70
)
71
71
// permissions: [.writeToPackageDirectory(reason: "This plugin generates a SAM template to describe your deployment")]
4. I invoke the archive plugin and the deploy plugin from the command line.
95
+
3. I invoke the archive plugin and the deploy plugin from the command line.
112
96
113
97
```bash
114
98
@@ -123,7 +107,7 @@ swift package --disable-sandbox deploy
123
107
124
108
Similarly to the archiver plugin, the deployer plugin must escape the sandbox because the SAM CLI makes network calls to AWS API (IAM and CloudFormation) to validate and to deploy the template.
125
109
126
-
5. (optionally) Swift lambda function developer may also use SAM to test the code locally.
110
+
4. (optionally) Swift lambda function developer may also use SAM to test the code locally.
127
111
128
112
```bash
129
113
sam local invoke -t sam.yaml -e Tests/LambdaTests/data/apiv2.json HttpApiLambda
0 commit comments