From 7493ee31cb1833c072d2c62b61ca42f1d3094da7 Mon Sep 17 00:00:00 2001 From: John Wards Date: Wed, 30 Jul 2014 16:44:02 +0100 Subject: [PATCH] Stop passing engine into EngineVersion Fixes #95 --- builtin/providers/aws/resource_aws_db_instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_db_instance.go b/builtin/providers/aws/resource_aws_db_instance.go index e6c78f4fd236..d18eb8e3ccbf 100644 --- a/builtin/providers/aws/resource_aws_db_instance.go +++ b/builtin/providers/aws/resource_aws_db_instance.go @@ -93,7 +93,7 @@ func resource_aws_db_instance_create( opts.MasterUsername = rs.Attributes["username"] opts.MasterUserPassword = rs.Attributes["password"] opts.EngineVersion = rs.Attributes["engine_version"] - opts.EngineVersion = rs.Attributes["engine"] + opts.Engine = rs.Attributes["engine"] // Don't keep the password around in the state delete(rs.Attributes, "password")