I had provisioned RDS SQL Server express edition.
I wanted to update the edition of SQL Server to standard edition.
I updated my terraform config file and ran terraform apply.
When terraform ran it first deleted the existing database server.
It tried creating the new server.
It failed because SQL Server standard edition requires 200 GB minimum disk space and express edition had 100 GB.
I updated my tfvars file to set the allocated value to 200.
However I still keep on getting errors telling me that I am allocating 100 GB but I should be allocated between 200 to 1024 GB.
When I run terrafrom apply it shows that it will allocate 200 GB but fails with a message that I am allocated 100 GB.
I have looked at the tfstate file and it does not have any reference to the RDS instance I am trying to create.
So I cannot figure out where it is getting the value of 100 GB from.
Let me know if you have any suggestions. I need to create the database soon and I would have to create it manually if I cannot get past this issue.
Thanks