{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/3750","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/3750/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/3750/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/3750/events","html_url":"https://github.com/hashicorp/terraform/issues/3750","id":115034068,"number":3750,"title":"\"cluster_identifier\": required field is not set... invalid or unknown key: cluster_identifer","user":{"login":"brikis98","id":711908,"avatar_url":"https://avatars.githubusercontent.com/u/711908?v=3","gravatar_id":"","url":"https://api.github.com/users/brikis98","html_url":"https://github.com/brikis98","followers_url":"https://api.github.com/users/brikis98/followers","following_url":"https://api.github.com/users/brikis98/following{/other_user}","gists_url":"https://api.github.com/users/brikis98/gists{/gist_id}","starred_url":"https://api.github.com/users/brikis98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brikis98/subscriptions","organizations_url":"https://api.github.com/users/brikis98/orgs","repos_url":"https://api.github.com/users/brikis98/repos","events_url":"https://api.github.com/users/brikis98/events{/privacy}","received_events_url":"https://api.github.com/users/brikis98/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T11:35:56Z","updated_at":"2015-11-04T11:41:34Z","closed_at":null,"body":"I'm trying to define an RDS Aurora cluster as follows:\r\n\r\n```\r\nresource \"aws_rds_cluster_instance\" \"rds_cluster_instance\" {\r\n  count = \"${var.db_instances}\"\r\n  cluster_identifer = \"${aws_rds_cluster.default.id}\"\r\n  instance_class = \"db.r3.large\"\r\n}\r\n\r\nresource \"aws_rds_cluster\" \"default\" {\r\n  cluster_identifier = \"rds-cluster-${var.vpc_name}-${var.stack}\"\r\n  availability_zones = [\"${split(\",\", var.availability_zones)}\"]\r\n  database_name = \"${var.db_name}\"\r\n  master_username = \"${var.db_username}\"\r\n  master_password = \"${var.db_password}\"\r\n}\r\n```\r\n\r\nWith `db_instances` set to 3, when I run `terraform apply`, I get the following error:\r\n\r\n```\r\n  * aws_rds_cluster_instance.rds_cluster_instance #0: \"cluster_identifier\": required field is not set\r\n  * aws_rds_cluster_instance.rds_cluster_instance #0: : invalid or unknown key: cluster_identifer\r\n  * aws_rds_cluster_instance.rds_cluster_instance #2: \"cluster_identifier\": required field is not set\r\n  * aws_rds_cluster_instance.rds_cluster_instance #2: : invalid or unknown key: cluster_identifer\r\n  * aws_rds_cluster_instance.rds_cluster_instance #1: \"cluster_identifier\": required field is not set\r\n  * aws_rds_cluster_instance.rds_cluster_instance #1: : invalid or unknown key: cluster_identifer\r\n```\r\n\r\nNot sure what to do from here. I'm on Terraform v0.6.4."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/153695220","html_url":"https://github.com/hashicorp/terraform/issues/3750#issuecomment-153695220","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/3750","id":153695220,"user":{"login":"brikis98","id":711908,"avatar_url":"https://avatars.githubusercontent.com/u/711908?v=3","gravatar_id":"","url":"https://api.github.com/users/brikis98","html_url":"https://github.com/brikis98","followers_url":"https://api.github.com/users/brikis98/followers","following_url":"https://api.github.com/users/brikis98/following{/other_user}","gists_url":"https://api.github.com/users/brikis98/gists{/gist_id}","starred_url":"https://api.github.com/users/brikis98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brikis98/subscriptions","organizations_url":"https://api.github.com/users/brikis98/orgs","repos_url":"https://api.github.com/users/brikis98/repos","events_url":"https://api.github.com/users/brikis98/events{/privacy}","received_events_url":"https://api.github.com/users/brikis98/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T11:41:34Z","updated_at":"2015-11-04T11:41:34Z","body":"I just tried the example directly from the [documentation](https://www.terraform.io/docs/providers/aws/r/rds_cluster_instance.html):\r\n\r\n```\r\nresource \"aws_rds_cluster_instance\" \"cluster_instances\" {\r\n  count = 2\r\n  identifier = \"aurora-cluster-demo\"\r\n  cluster_identifer = \"${aws_rds_cluster.default.id}\"\r\n  instance_class = \"db.r3.large\"\r\n}\r\n\r\nresource \"aws_rds_cluster\" \"default\" {\r\n  cluster_identifier = \"aurora-cluster-demo\"\r\n  availability_zones = [\"us-west-2a\",\"us-west-2b\",\"us-west-2c\"]\r\n  database_name = \"mydb\"\r\n  master_username = \"foo\"\r\n  master_password = \"bar\"\r\n}\r\n```\r\n\r\nI still get the same type of error:\r\n\r\n```\r\n  * aws_rds_cluster_instance.cluster_instances #1: \"cluster_identifier\": required field is not set\r\n  * aws_rds_cluster_instance.cluster_instances #1: : invalid or unknown key: cluster_identifer\r\n  * aws_rds_cluster_instance.cluster_instances #0: \"cluster_identifier\": required field is not set\r\n  * aws_rds_cluster_instance.cluster_instances #0: : invalid or unknown key: cluster_identifer\r\n```"}}