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

total_retention_in_days param not accepting values greater than 730 #24860

Closed
1 task done
leuthelt opened this issue Feb 12, 2024 · 3 comments
Closed
1 task done

total_retention_in_days param not accepting values greater than 730 #24860

leuthelt opened this issue Feb 12, 2024 · 3 comments

Comments

@leuthelt
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Terraform Version

1.7.1

AzureRM Provider Version

3.91.0

Affected Resource(s)/Data Source(s)

azurerm_log_analytics_workspace_table

Terraform Configuration Files

resource "azurerm_log_analytics_workspace_table" "activity" {
  workspace_id            = azurerm_log_analytics_workspace.law.id
  name                    = "AzureActivity"
  plan                    = "Analytics"
  retention_in_days       = 730
  total_retention_in_days = 1095
}

Debug Output/Panic Output

Error: expected total_retention_in_days to be in the range (30 - 730), got 1095

Expected Behaviour

Like described in https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/log_analytics_workspace_table, I expect correct validation of total_retention_in_days param, which should allow numbers from 30 and 4383.

Actual Behaviour

Error: expected total_retention_in_days to be in the range (30 - 730), got 1095

Steps to Reproduce

No response

Important Factoids

No response

References

No response

@mikemadeja
Copy link
Contributor

Hello, I created a PR to correct the number.

#24900

@rcskosir
Copy link
Contributor

Thanks for taking the time to submit this issue. It looks like this has been resolved as of #24900. As such, I am going to mark this issue as closed. If that is not the case, please provide additional information including the version in which you are still experiencing this issue, thanks!

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants