ibmcloud.ansible_collection.ibm_is_security_group (1.2.2) — module

Configure IBM Cloud 'ibm_is_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

Create, update or destroy an IBM Cloud 'ibm_is_security_group' resource


Requirements

Inputs

    
id:
    description:
    - (Required when updating or destroying existing resource) IBM Cloud Resource ID.
    required: false
    type: str

vpc:
    description:
    - (Required for new resource) Security group's resource group id
    required: false
    type: str

name:
    description:
    - Security group name
    required: false
    type: str

rules:
    description:
    - Security Rules
    elements: dict
    required: false
    type: list

state:
    choices:
    - available
    - absent
    default: available
    description:
    - State of resource
    required: false

generation:
    choices:
    - 1
    - 2
    default: 2
    description:
    - IBM Cloud infrastructure generation.
    required: false

resource_crn:
    description:
    - The crn of the resource
    required: false
    type: str

resource_name:
    description:
    - The name of the resource
    required: false
    type: str

resource_group:
    description:
    - None
    required: false
    type: str

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

ibmcloud_api_key:
    description:
    - (Required when generation = 2) The API Key used for authentification. This can also
      be provided via the environment variable 'IC_API_KEY'.
    required: false

resource_group_name:
    description:
    - The resource group name in which resource is provisioned
    required: false
    type: str

iaas_classic_api_key:
    description:
    - (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This
      can also be provided via the environmental variable 'IAAS_CLASSIC_API_KEY'.
    required: false

iaas_classic_username:
    description:
    - (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer)
      user name. This can also be provided via the environmental variable 'IAAS_CLASSIC_USERNAME'.
    required: false

resource_controller_url:
    description:
    - The URL of the IBM Cloud dashboard that can be used to explore and view details
      about this instance
    required: false
    type: str