Question

Are tags case-sensitive?

Tags in DigitalOcean used to be case-sensitive and preserved case on creation.

Recently (in the past week?) DIgitalOcean seems to be lower-casing every new tag. Is that a new, intended behavior? Is that documented anywhere?

You can easily see this behavior by going to the tags section of the Droplet and adding a tag with capital letters. It will be saved in lower case.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

There was a change a week ago, where renaming tags was deprecated. https://developers.digitalocean.com/documentation/changelog/api-v2/deprecating-update-tag/

And reading the documentation, doesn’t state that tags are only lowercase: https://developers.digitalocean.com/documentation/v2/#tags

Maybe something changed last week, which hasn’t been documented. You should create a ticket to get an official answer.

@fortuna

From what I’m seeing, lowercase is what they’re using. I’ve not personally used uppercase with tags in the past though.

I can confirm that when trying to tag from within the control panel, anything uppercase is converted to lowercase. The same when using doctl from Terminal. Passing uppercase tags results in lowercase conversion.