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

azurerm_security_center_automation - action.type required to be lowercase, contrary to documentation #25654

Closed
1 task done
nickel-tyler opened this issue Apr 17, 2024 · 1 comment · Fixed by #25677
Closed
1 task done
Labels
bug category/casing/constants Resolved with new base layer, upgrading version should fix. documentation service/security-center

Comments

@nickel-tyler
Copy link
Contributor

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.0

AzureRM Provider Version

~> 3.98.0

Affected Resource(s)/Data Source(s)

azurerm_security_center_automation

Terraform Configuration Files

resource "azurerm_security_center_automation" "these" {
  name                = "test"
  location            = var.location
  resource_group_name = var.resource_group
  description         = "test"
  scopes              = [var.subscription_id]

  action {
    type        = "LogicApp"
    resource_id = var.logic_app_workflow.id
    #trigger_url = 
  }

...

}

Debug Output/Panic Output

Error: expected action.0.type to be one of ["logicapp" "loganalytics" "eventhub"], got LogicApp

Expected Behaviour

Should accept camelcase values and/or documentation should be updated to indicated lowercase values are required

Actual Behaviour

Error

Steps to Reproduce

No response

Important Factoids

No response

References

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/security_center_automation

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 May 20, 2024
@rcskosir rcskosir added the bug label Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug category/casing/constants Resolved with new base layer, upgrading version should fix. documentation service/security-center
Projects
None yet
2 participants