- name: Get all regional snapshots
ibm.cloudcollection.ibm_is_snapshots_info:
region: "{{vdc_region}}"
register: list_snapshots
Returns this error:
Error: Unsupported argument
on ibm_is_snapshots_ansible_20210816-170138.tf line 2, in data "ibm_is_snapshots" "ansible_20210816-170138":
2: region = "us-south"
An argument named "region" is not expected here.
Error: Unsupported argument
on ibm_is_snapshots_ansible_20210816-170138.tf line 3, in data "ibm_is_snapshots" "ansible_20210816-170138":
3: ibmcloud_api_key = "*******"
An argument named "ibmcloud_api_key" is not expected here.
Error: Unsupported argument
on ibm_is_snapshots_ansible_20210816-170138.tf line 4, in data "ibm_is_snapshots" "ansible_20210816-170138":
4: generation = 2
An argument named "generation" is not expected here.
But the documentation clearly lists those arguments inside of ibm_is_snapshots_info. ibm_is_snapshot and ibm_is_snapshot_info both work fine, not sure why this one fails.
Running this:
Returns this error:
But the documentation clearly lists those arguments inside of ibm_is_snapshots_info. ibm_is_snapshot and ibm_is_snapshot_info both work fine, not sure why this one fails.