victorious-activity-89423
12/03/2024, 2:50 PMvictorious-activity-89423
12/03/2024, 3:01 PMError: creating RDS DB Instance (metaflowmetaflowXXX): operation error RDS: CreateDBInstance, https response error StatusCode: 400, RequestID: XXX, api error InvalidParameterCombination: RDS does not support creating a DB instance with the following combination: DBInstanceClass=db.t2.small, Engine=postgres, EngineVersion=11.22, LicenseModel=postgresql-license. For supported combinations of instance class and database engine version, see the documentation.
with module.metaflow-datastore.aws_db_instance.this[0],
on .terraform/modules/metaflow-datastore/modules/datastore/rds.tf line 98, in resource "aws_db_instance" "this":
98: resource "aws_db_instance" "this" {
Lambda error:
Error: creating Lambda Function (metaflowdb_migrateXXX): operation error Lambda: CreateFunction, https response error StatusCode: 400, RequestID: XXX, InvalidParameterValueException: The runtime parameter of python3.7 is no longer supported for creating or updating AWS Lambda functions. We recommend you use a supported runtime while creating or updating functions.
with module.metaflow-metadata-service.aws_lambda_function.db_migrate_lambda,
on .terraform/modules/metaflow-metadata-service/modules/metadata-service/lambda.tf line 115, in resource "aws_lambda_function" "db_migrate_lambda":
115: resource "aws_lambda_function" "db_migrate_lambda" {
average-beach-28850
12/04/2024, 3:13 AMvictorious-activity-89423
12/04/2024, 2:15 PM<http://variables.tf|variables.tf>
files, but the terraform plan + apply appeared to be ignoring the variables that I had in there...for example lambda says to use "python3.12" but if you look at the error I get, it indicates that the lambda is trying to use "python3.7" š
The same thing happened with postgres. I'm a terraform noob so I could definitely be doing something wrong though š
wooden-van-2580
04/09/2025, 1:24 PMsource
directive with "../../modules/$module_name"
(replace $module_name
with the given module) so it will use the checked out modules from the same repo
Do a terraform init
after you do this.