Open ehaselwanter opened 5 months ago
I propose a definition similar to our policies:
resource "mondoo_framework_assignment" "space" {
space_id = mondoo_space.my_space.id
frameworks = [
"//policy.api.mondoo.app/frameworks/iso-27001-2022",
]
state = "enabled"
# default is false, allows only setting specific policies
partial_update = false
}
Right now I would avoid adding an attribute activate_policies = true
since this would allow conflicts between the new policy setting https://github.com/mondoohq/terraform-provider-mondoo/issues/104 and this resource.
I added sample requests to our API examples https://github.com/mondoohq/samples/pull/63/files
We implemented the issue in the following PR: https://github.com/mondoohq/terraform-provider-mondoo/pull/108
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.