question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RDS DB identifiers have obscure names

See original GitHub issue

some resources get pretty ARNs (that is, they are prefixed with the id, so it’s easy to look for them), while some others don’t: RDS databases and EKS clusters are the ones I can’t find. here is how my databases and clusters look:

image

image

this means that looking up resources is quite painful. compare it to other resources buckets where the arn is something like {LOGICAL_ID}-{random_number}. I don’t want to set resource names in my definitions, as that leads to problems. is there a way to avoid this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nija-atcommented, Feb 17, 2020

Is it because EKS is actually a custom resource and not a cloudformation construct?

@itajaja - yes, that’s accurate.

0reactions
itajajacommented, Feb 7, 2020

@itajaja - to reiterate @jogold’s comment, any attempt to control the name of the database instance from by the CDK would result in a state where CloudFormation cannot execute updates when its properties are modified.

so you are saying that this is an issue on cloudformation end rather than CDK? if that’s the case, why then was the problem solved on CDK’s side for EKS clusters? Isn’t that applicable to RDS too? Is it because EKS is actually a custom resource and not a cloudformation construct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon RDS DB instances
Each DB instance has a DB instance identifier. This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon RDS API...
Read more >
Can I rename an RDS instance? - DevOps Stack Exchange
Yes, you can rename an RDS instance... at your own peril. When you rename a DB instance, the [DNS] endpoint [hostname] for the...
Read more >
amazon web services - RDS endpoint name format
In summary, it's an opaque identifier, internally generated by an algorithm that isn't publicly disclosed, and it should not change for a given ......
Read more >
Unknown Database when trying to connect to an AWS RDS ...
When you create you create your RDS instance, there is an “Additional configuration” section, in which you can specify the database name, ...
Read more >
Resource: aws_db_instance - hashicorp - Terraform Registry
If you are providing an Oracle db name, it needs to be in all upper case. ... This correlates to the identifier of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found