Terraform AWS RDS Instance scenarios with 'InvalidParameterValue' for Storage Type
I've been working on this all day and I'm stuck on something that should probably be simple. This might be a silly question, but I'm currently trying to provision an Amazon RDS instance using Terraform 1.3... I've set the storage type to 'gp2', but I keep running into an 'InvalidParameterValue' behavior during the apply phase. The exact behavior message is: `behavior: behavior creating DB Instance: InvalidParameterValue: Storage type gp2 is not available for the specified instance class`. Here is the relevant part of my Terraform configuration: ```hcl resource "aws_db_instance" "my_db" { allocated_storage = 20 engine = "mysql" engine_version = "8.0" instance_class = "db.t3.micro" storage_type = "gp2" db_name = "mydatabase" username = "admin" password = "mypassword" skip_final_snapshot = true } ``` I've verified that the `db.t3.micro` instance class supports General Purpose SSD (gp2) in the AWS documentation. I've also tried changing the `allocated_storage` to 30 GB and even altered the instance class to `db.t3.small`, but I still get the same behavior. Additionally, I checked if my IAM user has the appropriate permissions to create RDS instances and it seems fine. I'm deploying this in the `us-east-1` region, and I have not encountered any previous issues with provisioning RDS instances in this region using the same configurations. Could there be any additional constraints or settings in my Terraform setup that I'm missing? Any thoughts on what might be causing this scenario would be greatly appreciated! This is part of a larger service I'm building. Is there a better approach? Any help would be greatly appreciated! How would you solve this? This is my first time working with Hcl stable. What would be the recommended way to handle this?