ibmcloud.ansible_collection.ibm_security_group_info (1.2.2) — module

Retrieve IBM Cloud 'ibm_security_group' resource

| "added in version" 2.8 of ibmcloud.ansible_collection"

Authors: Jay Carman (@jaywcarman)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ibmcloud.ansible_collection:==1.2.2


Add to requirements.yml

  collections:
    - name: ibmcloud.ansible_collection
      version: 1.2.2

Description

Retrieve an IBM Cloud 'ibm_security_group' resource


Requirements

Inputs

    
name:
    description:
    - The name of the security group
    required: true
    type: str

description:
    description:
    - The description of the security group
    required: false
    type: str

most_recent:
    default: false
    description:
    - If true and multiple entries are found, the most recently created group is used.
      If false, an error is returned
    required: false
    type: bool

ibmcloud_region:
    default: us-south
    description:
    - Denotes which IBM Cloud region to connect to
    required: false

ibmcloud_api_key:
    description:
    - The API Key used for authentification. This can also be provided via the environment
      variable 'IC_API_KEY'.
    required: true