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
For guidance on setting up a development environment, see: [Development Environment Setup Guide on Linux](./setup-development-env-linux.md) or [Development Environment Setup Guide on MacOS](./setup-development-env-macos.md)
31
32
@@ -40,28 +41,53 @@ To build and publish your own template to your own S3 bucket:
40
41
*`cfn_bucket_basename`: A prefix added to the beginning of the bucket name (e.g. `idp-1234567890` to ensure global uniqueness)
41
42
*`cfn_prefix`: A prefix added to CloudFormation resources (e.g. `idp` or `idp-dev`)
42
43
43
-
Navigate into the project root directory and, in a bash shell, run:
44
+
Navigate into the project root directory and run:
45
+
46
+
#### Using publish.py (Recommended)
44
47
45
48
```bash
46
-
./publish.sh<cfn_bucket_basename><cfn_prefix><region e.g. us-east-1>
|**Permission errors**| Verify AWS credentials are configured and have necessary S3/CloudFormation permissions |
213
+
214
+
### Common Build Error Messages
215
+
216
+
**Python Runtime Error:**
217
+
```
218
+
Error: PythonPipBuilder:Validation - Binary validation failed for python, searched for python in following locations: [...] which did not satisfy constraints for runtime: python3.13
219
+
```
220
+
**Resolution:** Install Python 3.13 and ensure it's in your PATH, or use the `--use-container` flag for containerized builds.
221
+
222
+
**Docker Not Running:**
223
+
```
224
+
Error: Running AWS SAM projects locally requires Docker
225
+
```
226
+
**Resolution:** Start Docker daemon before running the publish script.
227
+
228
+
**AWS Credentials Not Found:**
229
+
```
230
+
Error: Unable to locate credentials
231
+
```
232
+
**Resolution:** Configure AWS credentials using `aws configure` or set environment variables.
233
+
234
+
### Verbose Mode Usage
235
+
236
+
For detailed debugging information, always use the `--verbose` flag when troubleshooting build issues:
0 commit comments