dynatrace_innovationlab.dynatrace_collection.dynatrace_deployment (1.0.6) — module

Notify Dynatrace about new deployments of a service

| "added in version" 2.3 of dynatrace_innovationlab.dynatrace_collection"

Authors: Juergen Etzlstorfer (@jetzlstorfer)

preview | supported by community

Install collection

Install with ansible-galaxy collection install dynatrace_innovationlab.dynatrace_collection:==1.0.6


Add to requirements.yml

  collections:
    - name: dynatrace_innovationlab.dynatrace_collection
      version: 1.0.6

Description

Push deployment information to Dynatrace

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- dynatrace_deployment:
    tenant_url: 'https://mytenant.live.dynatrace.com'
    api_token: 'XXXXXXXX'
    attach_rules:
      tagRule:
        meTypes: 'SERVICE'
        tags: 'my-service-tag'
    remediationAction: 'url-to-remediation'
    deploymentVersion: '2.0'

Inputs

    
source:
    description:
    - Source of the deployment information (default Ansible)
    required: false
    type: str

api_token:
    description:
    - Dynatrace API Token
    required: true
    type: str

tenant_url:
    description:
    - Tenant URL for the Dynatrace Tenant
    required: true
    type: str

attach_rules:
    description:
    - Structure that contains rules which monitored entities the event is to be attached
      to.
    required: true
    type: str

deploymentName:
    description:
    - Name of the deployment
    required: true
    type: str

customProperties:
    description:
    - Custom properties to attach to your deployment (dict)
    required: false
    type: str

deploymentProject:
    description:
    - Name of the project of the deployment
    required: false
    type: str

deploymentVersion:
    description:
    - A deployment version number
    required: false
    type: str

remediationAction:
    description:
    - A remediation action in case Dynatrace detects issues related to this deployment
    required: false
    type: str