Closed kumar1708 closed 1 month ago
@kumar1708 Thanks for taking the time to open this issue. Since this issue is on the azuread_access_package_assignment_policy
resource from the hashicorp/terraform-provider-azuread
repository, I am going to move this issue to that repository.
Error which I am getting has empty ''.
The access review duration entered does not work with the selected review frequency '' .The duration should be between 1 and 0.
Could you please help on this issue, I am not able to remove the assignment_review_settings block even though I am removing the complete assignment_review_settings block as shown in terraform plan.
Terraform Plan:
~ resource "azuread_access_package_assignment_policy" "cloud_ops_stakeholder" { id = "xxxxxxxxx"
~ assignment_review_settings {
- access_review_timeout_behavior = "keepAccess" -> null
- duration_in_days = 6 -> null
- enabled = true -> null
- review_frequency = "monthly" -> null
- review_type = "Reviewers" -> null
# (3 unchanged attributes hidden)
- reviewer {
- backup = false -> null
- object_id = "xxxxxxxxx" -> null
- subject_type = "singleUser" -> null
}
}
# (2 unchanged blocks hidden)
}
And terraform apply output:
AccessPackageAssignmentPolicyClient.BaseClient.Put(): unexpected status 400 with OData error: AccessReviewWrongDurationForRecurrenceType: The access review duration entered does not work with the selected review frequency ''. The duration should be between 1 and 0.
@kumar1708 Thanks for taking the time to open this issue. Since this issue is on the
azuread_access_package_assignment_policy
resource from thehashicorp/terraform-provider-azuread
repository, I am going to move this issue to that repository.
Any update on this ?
Any update on this ?
Is there an existing issue for this?
Community Note
Terraform Version
1.8.0
AzureRM Provider Version
3.81.0
Affected Resource(s)/Data Source(s)
assignment_review_settings
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
assignment_review_settings should be removed without any error
Actual Behaviour
AccessPackageAssignmentPolicyClient.BaseClient.Put(): unexpected status 400 with OData error: AccessReviewWrongDurationForRecurrenceType: The access review duration entered does not work with the selected review frequency ''. The duration should be between 1 and 0.
Steps to Reproduce
No response
Important Factoids
No response
References
No response