I am creating a backup policy and it states this error.
ERROR! couldn't resolve module/action 'azure_rm_backvmuppolicy'. This often indi cates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/home/azureuser/10.yml': line 4, column 7, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks: - name: Create VM Backup Policy ^ here
My Code is:
- name: The play
hosts: localhost
tasks:
- name: Create VM Backup Policy azure_rm_backvmuppolicy: name: 'BackupPolicytest' vault_name: 'testing236' resource_group: 'rg-automation' time: '18:00' weekdays: ['Monday', 'Thursday', 'Friday'] weeks: ['First', 'Fourth'] months: ['February', 'November'] count: 4 state: present