From a9f24da5bc2f1db34039bb62b14576f1225d0e23 Mon Sep 17 00:00:00 2001 From: Lionello Lunesu Date: Fri, 9 Feb 2024 15:21:20 -0800 Subject: [PATCH] moar warnings --- docs/faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index ff4f78107..b3b80e0c6 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -104,3 +104,12 @@ services: reservations: memory: 512MB ``` + +### "The build context contains more than 10 files" +- This message is displayed when you run `defang compose up` and the Compose file declares a `build` with a `context` that contains more than 10 files. Ensure the context refers to the correct folder. Defang will use the `context` as is, but you may experience slow build times. If you want to speed up the build, you should reduce the number of files in the `context`. + +### "AWS provider was selected, but AWS environment variables are not set" +- This message is displayed when you run `defang compose up` with the `--provider=aws` but none of the AWS environment variables were not set. If you proceed, the deployment might fail. + +### "Using Defang provider, but AWS environment variables were detected" +- This message is displayed when you run `defang compose up` with the `--provider=defang` but AWS environment variables were detected. The AWS environment variables will be ignored.