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.

E3030 case sensitivity caused DB instance destruction!

See original GitHub issue

cfn-lint version: (cfn-lint --version) 0.29.0

Description of issue.

E3030 told me that “Postgres” was not an allowed engine name, so I changed it to “postgres”. This caused cloudformation to rebuild my database instance, aka complete data loss. Luckily only discovered this on staging environment.

I think since CloudFormation / RDS seems to allow it, this check should be made case insensitive 😃

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
adamchainzcommented, Mar 25, 2020

I think this is also a CloudFormation bug, in that it compares the strings in a case-sensitive manner, when RDS underneath compares them in a case-insensitive manner. If you could file a bug there too that would be great.

1reaction
kddejongcommented, Mar 26, 2020

@PatMyron @rjlohan can you two provide some thoughts here? I can confirm that it looks like the RDS resource takes any casing on the Engine… mysql, MYSQL, mySql, etc. However it looks like as you change the casing it causes the service to recreate the resource?

Read more comments on GitHub >

github_iconTop Results From Across the Web

E3030 case sensitivity caused DB instance destruction!
This caused cloudformation to rebuild my database instance, aka complete data loss. Luckily only discovered this on staging environment. I think ...
Read more >
Databases - Why case insensitive?
I understand the interest of case insensitive searches on text values for example. But why would we use case-insensitive database names, tables ...
Read more >
Estimates of Japanese Encephalitis mortality and morbidity
Japanese Encephalitis (JE) is known for its high case fatality ratio (CFR) and ... indicating a permanent damage caused by JE infection.
Read more >
Can database objects be made case insensitive while ...
In Microsoft SQL Server (2014) it is possible to choose between a case insensitive and case sensitive collation.
Read more >
Post-COVID-19 human memory impairment: A PRISMA- ...
Thus, it is possible for COVID-19 infection to cause brain damage and subsequent ... For example, Savino et al. noted a case 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