{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1248","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1248/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1248/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1248/events","html_url":"https://github.com/hashicorp/terraform/issues/1248","id":63024124,"number":1248,"title":"VPC Databases","user":{"login":"jwaldrip","id":43164,"avatar_url":"https://avatars.githubusercontent.com/u/43164?v=3","gravatar_id":"","url":"https://api.github.com/users/jwaldrip","html_url":"https://github.com/jwaldrip","followers_url":"https://api.github.com/users/jwaldrip/followers","following_url":"https://api.github.com/users/jwaldrip/following{/other_user}","gists_url":"https://api.github.com/users/jwaldrip/gists{/gist_id}","starred_url":"https://api.github.com/users/jwaldrip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwaldrip/subscriptions","organizations_url":"https://api.github.com/users/jwaldrip/orgs","repos_url":"https://api.github.com/users/jwaldrip/repos","events_url":"https://api.github.com/users/jwaldrip/events{/privacy}","received_events_url":"https://api.github.com/users/jwaldrip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/aws","name":"provider/aws","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-19T15:57:14Z","updated_at":"2015-05-14T18:57:12Z","closed_at":"2015-03-19T18:27:32Z","body":"I am trying to provision my AWS with a VPC and I get an error that I cannot associate a non-vpc database to a vpc. How do I associate my database with the vpc?\r\n\r\n* Error creating DB Instance: InvalidParameterCombination: VPC Security Groups cannot be associated with non-VPC DB Instances.\r\n\r\n```\r\nresource \"aws_db_instance\" \"default\" {\r\n    identifier = \"brandfolder-rds\"\r\n    allocated_storage = 10\r\n    iops = 1500\r\n    engine = \"postgres\"\r\n    engine_version = \"9.4.1\"\r\n    instance_class = \"db.r3.xlarge\"\r\n    port = 5432\r\n    username = \"...\"\r\n    password = \"...\"\r\n    backup_window = \"05:00-8:30\"\r\n    maintenance_window = \"Sat:09:30-Sat:22:00\"\r\n    vpc_security_group_ids = [\"${aws_security_group.brandfolder-rds.id}\"]\r\n    final_snapshot_identifier = \"brandfolder-rds.db.snapshot\"\r\n    backup_retention_period = 30\r\n    multi_az = true\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/102135575","html_url":"https://github.com/hashicorp/terraform/issues/1248#issuecomment-102135575","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1248","id":102135575,"user":{"login":"saulshanabrook","id":1186124,"avatar_url":"https://avatars.githubusercontent.com/u/1186124?v=3","gravatar_id":"","url":"https://api.github.com/users/saulshanabrook","html_url":"https://github.com/saulshanabrook","followers_url":"https://api.github.com/users/saulshanabrook/followers","following_url":"https://api.github.com/users/saulshanabrook/following{/other_user}","gists_url":"https://api.github.com/users/saulshanabrook/gists{/gist_id}","starred_url":"https://api.github.com/users/saulshanabrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saulshanabrook/subscriptions","organizations_url":"https://api.github.com/users/saulshanabrook/orgs","repos_url":"https://api.github.com/users/saulshanabrook/repos","events_url":"https://api.github.com/users/saulshanabrook/events{/privacy}","received_events_url":"https://api.github.com/users/saulshanabrook/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T18:57:12Z","updated_at":"2015-05-14T18:57:12Z","body":"Is it possible to create a VPC database in only one AZ?"}}