exporting EC2 environment variables only if they are available