.. Document meta
:orphan:
.. |antsibull-internal-nbsp| unicode:: 0xA0
:trim:
.. role:: ansible-attribute-support-label
.. role:: ansible-attribute-support-property
.. role:: ansible-attribute-support-full
.. role:: ansible-attribute-support-partial
.. role:: ansible-attribute-support-none
.. role:: ansible-attribute-support-na
.. role:: ansible-option-type
.. role:: ansible-option-elements
.. role:: ansible-option-required
.. role:: ansible-option-versionadded
.. role:: ansible-option-aliases
.. role:: ansible-option-choices
.. role:: ansible-option-choices-entry
.. role:: ansible-option-default
.. role:: ansible-option-default-bold
.. role:: ansible-option-configuration
.. role:: ansible-option-returned-bold
.. role:: ansible-option-sample-bold
.. Anchors
.. _ansible_collections.grafana.grafana.cloud_stack_module:
.. Anchors: short name for ansible.builtin
.. Anchors: aliases
.. Title
grafana.grafana.cloud_stack module -- Manage Grafana Cloud stack
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. version_added
.. versionadded:: 0.0.1 of grafana.grafana
.. contents::
:local:
:depth: 1
.. Deprecated
Synopsis
--------
.. Description
- Create and delete Grafana Cloud stacks using Ansible.
.. Aliases
.. Requirements
.. Options
Parameters
----------
.. rst-class:: ansible-option-table
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
* - Parameter
- Comments
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-cloud_api_key:
.. rst-class:: ansible-option-title
**cloud_api_key**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string` / :ansible-option-required:`required`
.. raw:: html
- .. raw:: html
CLoud API Key to authenticate with Grafana Cloud.
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-name:
.. rst-class:: ansible-option-title
**name**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string` / :ansible-option-required:`required`
.. raw:: html
- .. raw:: html
Name of stack. Conventionally matches the URL of the instance. For example, ".grafana.net".
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-org_slug:
.. rst-class:: ansible-option-title
**org_slug**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
Name of the organization under which Cloud stack is created.
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-region:
.. rst-class:: ansible-option-title
**region**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
Choose a region for your stack.
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-default-bold:`us` :ansible-option-default:`← (default)`
- :ansible-option-choices-entry:`us-azure`
- :ansible-option-choices-entry:`eu`
- :ansible-option-choices-entry:`au`
- :ansible-option-choices-entry:`eu-azure`
- :ansible-option-choices-entry:`prod-ap-southeast-0`
- :ansible-option-choices-entry:`prod-gb-south-0`
- :ansible-option-choices-entry:`prod-eu-west-3`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-stack_slug:
.. rst-class:: ansible-option-title
**stack_slug**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string` / :ansible-option-required:`required`
.. raw:: html
- .. raw:: html
Subdomain of the Grafana instance. For example, if slug is , the instance URL will be https://.grafana.net
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-state:
.. rst-class:: ansible-option-title
**state**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
State for the Grafana CLoud stack.
.. rst-class:: ansible-option-line
:ansible-option-choices:`Choices:`
- :ansible-option-default-bold:`present` :ansible-option-default:`← (default)`
- :ansible-option-choices-entry:`absent`
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__parameter-url:
.. rst-class:: ansible-option-title
**url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
If you use a custom domain for the instance, you can provide it here. For example, “https://grafana.yourdoman.io”.
.. rst-class:: ansible-option-line
:ansible-option-default-bold:`Default:` :ansible-option-default:`"https://\.grafana.net"`
.. raw:: html
.. Attributes
.. Notes
.. Seealso
.. Examples
Examples
--------
.. code-block:: yaml+jinja
- name: Create a Grafana Cloud stack
cloud_stack:
name: company_name
slug: company_name
cloud_api_key: "{{ grafana_cloud_api_key }}"
region: eu
url: https://grafana.company_name.com
state: present
- name: Delete a Grafana Cloud stack
cloud_stack:
name: company_name
slug: company_name
cloud_api_key: "{{ grafana_cloud_api_key }}"
state: absent
.. Facts
.. Return values
Return Values
-------------
Common return values are documented :ref:`here `, the following are the fields unique to this module:
.. rst-class:: ansible-option-table
.. list-table::
:width: 100%
:widths: auto
:header-rows: 1
* - Key
- Description
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-alertmanager_name:
.. rst-class:: ansible-option-title
**alertmanager_name**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
Name of the alertmanager instance
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-alertmanager_url:
.. rst-class:: ansible-option-title
**alertmanager_url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
URL of the alertmanager instance
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-cluster_slug:
.. rst-class:: ansible-option-title
**cluster_slug**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
Slug for the cluster where the Grafana stack is deployed
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-id:
.. rst-class:: ansible-option-title
**id**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
ID of the Grafana Cloud stack
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-loki_url:
.. rst-class:: ansible-option-title
**loki_url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
URl for the Loki instance
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-orgid:
.. rst-class:: ansible-option-title
**orgID**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`integer`
.. raw:: html
- .. raw:: html
ID of the Grafana Cloud organization
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-prometheus_url:
.. rst-class:: ansible-option-title
**prometheus_url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
URl for the Prometheus instance
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-tempo_url:
.. rst-class:: ansible-option-title
**tempo_url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
URl for the Tempo instance
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
* - .. raw:: html
.. _ansible_collections.grafana.grafana.cloud_stack_module__return-url:
.. rst-class:: ansible-option-title
**url**
.. raw:: html
.. rst-class:: ansible-option-type-line
:ansible-option-type:`string`
.. raw:: html
- .. raw:: html
URL of the Grafana Cloud stack
.. rst-class:: ansible-option-line
:ansible-option-returned-bold:`Returned:` always
.. raw:: html
.. Status (Presently only deprecated)
.. Authors
Authors
~~~~~~~
- Ishan Jain (@ishanjainn)
.. Extra links
Collection links
~~~~~~~~~~~~~~~~
.. raw:: html
Issue Tracker
Repository (Sources)
.. Parsing errors