You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you expected to happen:
The Regex Pointer utilized watchers/rds.go:114 should allow for complex mappings, and it does not seem like it is respecting Resource Tags with syntax and/or special characters.
It should work with special characters
Reproduction Steps
As minimally and precisely as possible, describe step-by-step how to reproduce the problem.
Create an RDS Instance with Special Characters
Implement Syntax within the db_service resource block
RDS-WATCH Fails
Server Details
Teleport version (run teleport version): 8.1.5
Where are you running Teleport? (e.g. AWS, GCP, Dedicated Hardware): AWS
Debug Logs
Please include or attach debug logs, when appropriate. Obfuscate sensitive information!
Start Teleport with --debug flag (teleport --debug)
Run tsh with --debug flag (tsh --debug)
2022-03-01T10:52:39Z INFO [RDS-WATCH] Could not convert RDS instance "***-***-***" to database resource: invalid label key: "ssm:tperf-rds_schedule-on". labels:map[*:[*]] region:ap-northeast-1 watchers/rds.go:114
2022-03-01T10:52:39Z INFO [RDS-WATCH] Could not convert RDS instance "***-***-***-***" to database resource: invalid label key: "ssm:tperf-rds_schedule-off". labels:map[*:[*]] region:ap-northeast-1 watchers/rds.go:114
2022-03-01T10:52:39Z INFO [RDS-WATCH] Could not convert RDS instance "***-***-***-***" to database resource: invalid label key: "ssm:tperf-rds_schedule-off". labels:map[*:[*]] region:ap-northeast-1 watchers/rds.go:114
2022-03-01T10:52:39Z INFO [RDS-WATCH] Could not convert RDS instance "***-***-***-***" to database resource: invalid label key: "ssm:tperf-rds_schedule-on". labels:map[*:[*]] region:ap-northeast-1 watchers/rds.go:114
2022-03-01T10:52:39Z INFO [RDS-WATCH] Could not convert RDS instance "***-***-***-***" to database resource: invalid label key: "ssm:tperf-rds_schedule-on". labels:map[*:[*]] region:ap-northeast-1 watchers/rds.go:114
gz#4231
The text was updated successfully, but these errors were encountered:
I don't exactly know what you mean by "regex pointer" but : is a valid label character as of #11563, so upgrading to the latest 8.3.x should resolve this.
Description
Faulty Regex Pointer Not Utilized Properly On Certain DB Naming Conventions In Resource Tags
What happened:
A Customer used the following DB Resource Tags for their RDS Instances:
What you expected to happen:
The Regex Pointer utilized watchers/rds.go:114 should allow for complex mappings, and it does not seem like it is respecting Resource Tags with syntax and/or special characters.
It should work with special characters
Reproduction Steps
As minimally and precisely as possible, describe step-by-step how to reproduce the problem.
db_service
resource blockServer Details
teleport version
): 8.1.5Debug Logs
Please include or attach debug logs, when appropriate. Obfuscate sensitive information!
teleport --debug
)tsh --debug
)gz#4231
The text was updated successfully, but these errors were encountered: