Terraform Core Version
I do not remember already
AWS Provider Version
probably this happened on v4.67
Affected Resource(s)
- aws_db_event_subscription
Expected Behavior
No error should be reported, because the name has only alphanumeric characters.
Actual Behavior
Error: only alphanumeric characters and hyphens allowed in "name"
Relevant Error/Panic Output Snippet
terraform plan
╷
│ Error: only alphanumeric characters and hyphens allowed in "name"
│
│ with aws_db_event_subscription.db_event_subs,
│ on rds.tf line 81, in resource "aws_db_event_subscription" "db_event_subs":
│ 81: name = "db_event_subs"
Terraform Configuration Files
resource "aws_db_event_subscription" "db_event_subs" {
name = "db_event_subs" << line 81
sns_topic = aws_sns_topic.rds-events.arn
source_type = "db-instance"
source_ids = [aws_db_instance.postgres_v15.identifier]
event_categories = [
"backup",
"maintenance",
"low storage",
"failure",
]
}
Steps to Reproduce
terraform plan
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
Terraform Core Version
I do not remember already
AWS Provider Version
probably this happened on v4.67
Affected Resource(s)
Expected Behavior
No error should be reported, because the name has only alphanumeric characters.
Actual Behavior
Error: only alphanumeric characters and hyphens allowed in "name"Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform plan
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None