goldyfruit.ibmcloud_automation.ic_is_vpn_gateway (1.0.4) — module

Manage VPC VPN gateways 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 VPN gateway.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create VPN gateway
  ic_is_vpn_gateway:
    gateway: ibmcloud-vpn-gateway-baby
    subnet: ibmcloud-subnet-baby
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete VPN gateway
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- ic_is_vpn_gateway:
    gateway: ibmcloud-vpn-gateway-baby
    state: absent

Inputs

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

subnet:
    description:
    - Identifies a subnet by a unique property.
    type: str

gateway:
    description:
    - The user-defined name for this gateway
    required: true
    type: str

resource_group:
    description:
    - The resource group to use.
    type: str