You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In attempting to refer to an AWS RDS database instance by name in order to set up an RDS read replica, we have used replicate_source_db = "${aws_db_instance.my-master-db.name}" based upon the documentation at https://www.terraform.io/docs/providers/aws/r/db_instance.html#name but it appears that this is evaluating to the empty string. I spent a while trying to understand the behaviour from the source code but could not. However I did find hashicorp/terraform#2961 referring to the attribute 'identifier' although this is not in the documentation. I presume that I should be using the 'identifier' attribute - if so, can this be clarified in the documentation so as not to confuse others?
The text was updated successfully, but these errors were encountered:
Looking at the documentation on replicate_source_db it says that "This correlates to the identifier of another Amazon RDS Database to replicate." so it looks like the documentation is now correct.
This issue was originally opened by @edmundcraske as hashicorp/terraform#9926. It was migrated here as part of the provider split. The original body of the issue is below.
In attempting to refer to an AWS RDS database instance by name in order to set up an RDS read replica, we have used
replicate_source_db = "${aws_db_instance.my-master-db.name}"
based upon the documentation at https://www.terraform.io/docs/providers/aws/r/db_instance.html#name but it appears that this is evaluating to the empty string. I spent a while trying to understand the behaviour from the source code but could not. However I did find hashicorp/terraform#2961 referring to the attribute 'identifier' although this is not in the documentation. I presume that I should be using the 'identifier' attribute - if so, can this be clarified in the documentation so as not to confuse others?The text was updated successfully, but these errors were encountered: