You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ability to activate (existing) QoS policy for (existing) SVM
Requested Resource(s) and/or Data Source(s)
netapp-ontap_svm_qos_policy_activation
Potential Terraform Configuration
// example SVMresource"netapp-ontap_svm""svm1" {
name="svm1"
}
// example policyresource"netapp-ontap_qos_policies""policy1" {
name="policy1"svm_name=netapp-ontap_svm.svm1.name
}
// activate example policy for example SVMresource"netapp-ontap_svm_qos_policy_activation""svm1_policy1" {
svm_name=netapp_ontap_svm.svm1.nameqos_policy_name=netapp_ontap_qos_policies.policy1.name
}
hmmmm we'll need to look at how we are going to do this. I don't think we need a specific resource for this and should be able to do it in SVM, but let me see how that would work.
Apply policy group to SVM: vserver modify -vserver svm1 -qos-policy-group policy1
Creating the policy group is only possible after the SVM / vserver exists. Hence, activating it is a separate step - it can't be activated upon initial creation... but I might be missing something here!
That's why I've opted for a separate resource to model the association of SVM <-> policy. Again, this might be due to my limited understanding - let me know if there's a more elegant way to do it.
Description
Ability to activate (existing) QoS policy for (existing) SVM
Requested Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: