AWS recently released support for mw1.micro environments. While the mwaa resource supports specifying the mw1.micro instance class the validation on configuration parameters prevent usage of the instance class due to the minimum and maximum validation on parameters.
mw1.micro requires 1 webserver in configuration and current validation expects between 2 and 5
╷
│ Error: expected min_webservers to be in the range (2 - 5), got 1
│
│ with aws_mwaa_environment.this,
│ on mwaa.tf line 11, in resource "aws_mwaa_environment" "this":
│ 11: min_webservers = 1
│
╵
╷
│ Error: expected max_webservers to be in the range (2 - 5), got 1
│
│ with aws_mwaa_environment.this,
│ on mwaa.tf line 12, in resource "aws_mwaa_environment" "this":
│ 12: max_webservers = 1
│
╵
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
AWS recently released support for mw1.micro environments. While the mwaa resource supports specifying the mw1.micro instance class the validation on configuration parameters prevent usage of the instance class due to the minimum and maximum validation on parameters.
mw1.micro requires 1 webserver in configuration and current validation expects between 2 and 5
Affected Resource(s) and/or Data Source(s)
aws_mwaa_environment
Potential Terraform Configuration
References
https://aws.amazon.com/blogs/big-data/introducing-amazon-mwaa-micro-environments-for-apache-airflow/
Would you like to implement a fix?
None