cagataygurturk / lambadaframework

Build serverless REST API's with JAVA. It implements the JAX-RS API and deploys your application easily to AWS Lambda and API Gateway
MIT License
244 stars 48 forks source link

Unable to override deployment.bucket on mvn command line #36

Open takesson opened 7 years ago

takesson commented 7 years ago

It is possible to override many other properties, e.g. -Ddeployment.stage=alpha.

However, when overriding bucket with -Ddeployment.bucket=lambda-deploy-bogus the deploy module will respect the override but the cloudformation activities will not.

org.lambadaframework.deployer.Deployment.java seems to get most parameters via constructor but it determines the bucket in some other way. Is there a particular reason for that?

It is important when a group of developers are collaborating and running tests on their individual AWS accounts.