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
fatal: [localhost]: FAILED! => changed=false
invocation:
module_args:
generation: 2
ibmcloud_api_key: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER
region: eu-gb
msg: ''
rc: 1
resource:
_name: ansible_20221010-120228
_type: ibm_is_vpcs
target: ibm_is_vpcs.ansible_20221010-120228
stderr: |2-
Error: Unsupported argument
on ibm_is_vpcs_ansible_20221010-120228.tf line 2, in data "ibm_is_vpcs" "ansible_20221010-120228":
2: region = "eu-gb"
An argument named "region" is not expected here.
Error: Unsupported argument
on ibm_is_vpcs_ansible_20221010-120228.tf line 3, in data "ibm_is_vpcs" "ansible_20221010-120228":
3: ibmcloud_api_key = "********"
An argument named "ibmcloud_api_key" is not expected here.
Error: Unsupported argument
on ibm_is_vpcs_ansible_20221010-120228.tf line 4, in data "ibm_is_vpcs" "ansible_20221010-120228":
4: generation = 2
An argument named "generation" is not expected here.
stderr_lines: <omitted>
stdout: |2-
Warning: Argument is deprecated
The generation field is deprecated and will be removed after couple of
releases
stdout_lines: <omitted>
I normall set IC_REGION and IC_API_KEY in my environment to use the ansible collection. When I try to use https://github.com/IBM-Cloud/ansible-collection-ibm/blob/master/plugins/modules/ibm_is_vpcs_info.py , with no arguments (because I have these two items set in my environmnet), I get an error
Looking at https://github.com/IBM-Cloud/terraform-provider-ibm/blob/master/ibm/service/vpc/data_source_ibm_is_vpcs.go it doesn't appear to be expecting any arguments
It seems like this ansible module is out of sync with what the terraform module expects.
I tried passing an empty dictionary to
ansible-collection-ibm/plugins/modules/ibm_is_vpcs_info.py
Line 116 in 35affbe
The text was updated successfully, but these errors were encountered: