serverless_static_website_with_basic_auth
serverless_static_website_with_basic_auth copied to clipboard
could not archive missing directory
~/Development/serverless_static_website_with_basic_auth/Terraform$ ./scripts/create_static_serverless_website.sh static-website-content/ default blah.com
Error: Error refreshing state: 1 error(s) occurred:
-
module.serverless-static-website-with-basic-auth.data.archive_file.basic_auth_at_edge_lambda_package: 1 error(s) occurred:
-
module.serverless-static-website-with-basic-auth.data.archive_file.basic_auth_at_edge_lambda_package: data.archive_file.basic_auth_at_edge_lambda_package: error archiving directory: could not archive missing directory: ~/Development/serverless_static_website_with_basic_auth/Terraform/lambda-at-edge-code/blah.com/
you need to make sure you rename the folder inside lambda-at-edge-code to the subdomain+domain as well as settings/subdomain.example.com