broad-zoo-34077
05/17/2021, 12:31 PMcrooked-daybreak-55253
05/17/2021, 12:41 PMcrooked-daybreak-55253
05/17/2021, 12:47 PMresource "aws_db_instance" "aurora" { 
  engine = "aurora"
  instance_class = "db.t3.small"
}
resource "aws_db_instance" "aurora-mysql" { 
  engine = "aurora-mysql"
  instance_class = "db.t3.small"
}
...polite-vr-31842
05/17/2021, 12:49 PMpolite-vr-31842
05/17/2021, 12:51 PMcrooked-daybreak-55253
05/17/2021, 12:58 PMcrooked-daybreak-55253
05/17/2021, 12:59 PMpolite-vr-31842
05/17/2021, 1:51 PMA  value is X then we set the query field B  to Z . These are where most errors are. I personally can think of at-least 2-3 times that my code had such errors and the reviewer found it.crooked-daybreak-55253
05/17/2021, 2:33 PMpolite-vr-31842
05/17/2021, 3:07 PMresourceGroup is based on the value of storageClass  (there is a probability of typos here). Then if resourceGroup is regional and we have certain location field we have to change the resourceGroup . So it's kind of a nested switch statement.crooked-daybreak-55253
05/17/2021, 3:23 PMwhite-airport-8778
polite-vr-31842
05/18/2021, 7:27 PM