goldyfruit.ibmcloud_automation.ic_resource_group (1.0.4) — module

Manage VPC resource groups on IBM Cloud.

| "added in version" 2.9 of goldyfruit.ibmcloud_automation"

Authors: Gaëtan Trellu (@goldyfruit)

preview | supported by community

Install collection

Install with ansible-galaxy collection install goldyfruit.ibmcloud_automation:==1.0.4


Add to requirements.yml

  collections:
    - name: goldyfruit.ibmcloud_automation
      version: 1.0.4

Description

This module creates a new resource group in an account.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create resource group
  ic_resource_group:
    group: ibmcloud-resource-group-new-baby
    account_id: 9aa205e454574e8484b3ca8c2ff33d83
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete resource group
  ic_resource_group:
    group: ibmcloud-resource-group-new-baby
    account_id: 9aa205e454574e8484b3ca8c2ff33d83
    state: absent

Inputs

    
group:
    description:
    - The new name of the resource group.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Should the resource be present or absent.
    type: str

account_id:
    description:
    - The account id of the resource group.
    required: true
    type: str