Skip to content
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

Remove regex check in name field in log search resource #693

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ssharma-sumologic
Copy link
Collaborator

The regex in log search name was outdated, we are using a regex allowing names with more broader fields with api. With this change we are removing regex validation in name field in terraform, since we want the api to be the single source of truth.
The api already has regex pattern checks so the change is safe, now instead of failing at plan generation, terraform will fail at apply stage if name is invalid as per regex.

Tested the changes by creating resource.

Copy link

@sumo-mastermanas sumo-mastermanas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants