-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Error when creating tags with Triton provider #5836
Comments
Hi @chorrell! Just as a quick way of narrowing this down - do you get the same error if you specifiy the key as |
Hi folks, this is an expression of a current limitation of Terraform's config that we're probably going to need to address soon - dots in keys do not work! You can track the canonical issue for this problem over here: #2143 Going to close this issue to consolidate into that thread, feel free to follow up if you believe there's an independent problem to track here. 👍 |
OK, makes sense. Is there any kind of workaround for this to get tags with |
@phinze I would like to follow up on this bug/feature request. If what @chorrell really wants is to support Triton's CNS then it is an easier problem than #2143. Triton CNS has a predefined set of tags that we can easily do an invertible transformation as data is exchanged between Terraform and Triton. I have this working in my fork, I'll follow up with a pull-request shortly. |
Tags with dots now work ok (in 0.7.0-rc1)! |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I'm hitting an issue setting a tag for an instance using the Triton provider.
It works fine for simple tags like this:
But it fails with a tag like this:
The above tag sets a DNS name for the instance via the CNS service.
Here's the error I get:
What I think is happening is the CNS service tag name "test" is that some sort of escaping issue is happening, hence the "Invalid tag parameters" error and
\"message\":\"\\\"\\\" is not DNS safe\"
. I think this might be because the tag name has periods (.
)The text was updated successfully, but these errors were encountered: