Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please clarify aws_db_instance name and identifier arguments/attributes #354

Closed
hashibot opened this issue Jun 13, 2017 · 4 comments
Closed
Labels
documentation Introduces or discusses updates to documentation.

Comments

@hashibot
Copy link

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?

@hashibot hashibot added the documentation Introduces or discusses updates to documentation. label Jun 13, 2017
@coingraham
Copy link
Contributor

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.

@edmundcraske
Copy link
Contributor

Agreed, this can now be closed. As this was copied by @hashibot I've got no rights to close it any more... Perhaps @stack72 can do the honours :)

@tombuildsstuff
Copy link
Contributor

Closing @edmundcraske’s request :)

@ghost
Copy link

ghost commented Apr 11, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation.
Projects
None yet
Development

No branches or pull requests

4 participants