terraform-aws-serverless-static-wordpress
terraform-aws-serverless-static-wordpress copied to clipboard
Configure WP_MEMORY_LIMIT
Looks like WORDPRESS_CONFIG_EXTRA
is the solution here.
Turns out WP_CONFIG_EXTRA sucks because it doesn't handle the case where a wp-config.php already exists (so pretty much every single time we run the container). Solution instead is to use wp cli to set on container start as part of entrypoint.