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: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,10 @@ All requirements for running the API are packaged and uploaded to AWS as a lambd
22
22
7. Get the URL of the deployed API endpoint by running `hatch run ./get_api_url.py` in the root directory.
23
23
8. Get the API Key generated by AWS by running `hatch run ./get_api_key.py` in the root directory. The deployment is configured to reject any API call that does not have this key passed via the `x-api-key` HTTP header.
24
24
25
-
For convenience `./deploy.sh` in the project root will clean the environment and perform all of these steps (using `-var="dnssec_enabled=false"`), with the exception of copying over the example config to the operational config and running `tofu init` in the open-tofu dir.
26
-
In addition, `hatch run lambda:prepare` will run steps 2-5 in a single command.
27
-
Finally, `hatch run lambda:deploy` will clean the environment and then run steps 2-6, in the same manner as `deploy.sh`.
25
+
For convenience:
26
+
*`./deploy.sh` in the project root will clean the environment and perform steps 2-6 (using `-var="dnssec_enabled=false"`), with the exception of copying over the example config to the operational config and running `tofu init` in the open-tofu dir.
27
+
*`hatch run lambda:prepare` will run steps 2-5 in a single command.
28
+
*`hatch run lambda:deploy` will clean the environment and then run steps 2-6, in the same manner as `deploy.sh`.
28
29
29
30
## Testing
30
31
The following is an example of a test API call that uses bash command substitution to fill in the proper values for the API URL and the API key.
0 commit comments