Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datadog_monitor] - locked parameter is deprecated and replaced by restricted_roles #8192

Open
1 task done
greenflowers opened this issue Apr 5, 2024 · 1 comment · May be fixed by #8193
Open
1 task done

[datadog_monitor] - locked parameter is deprecated and replaced by restricted_roles #8192

greenflowers opened this issue Apr 5, 2024 · 1 comment · May be fixed by #8193
Labels
feature This issue/PR relates to a feature request module module needs_maintainer plugins plugin (any type)

Comments

@greenflowers
Copy link

Summary

The locked parameter is deprecated and replaced by restricted_roles parameter. According to Datadog Support they will remove this API option in the next weeks and return a 400 instead. All projects who use datadog_monitor in the current state, will fail from that day on.

Issue Type

Feature Idea

Component Name

datadog_monitor

Additional Information

    - name: Create or destroy a Datadog metric monitors
      community.general.datadog_monitor:
        type: "metric alert"
        name: "{{ datadog_monitor_prefix }} {{ datadog_monitor.name }}"
        state: "{{ datadog_monitor_state }}"
        query: "{{ datadog_monitor.query }}"
        notification_message: |
          {{ (datadog_monitor.alert_recipients) | join(' ') }}
        thresholds: "{{ datadog_monitor.thresholds }}"
        evaluation_delay: "{{ datadog_monitor.evaluation_delay }}"
        api_key: "{{ datadog_api_key }}"
        app_key: "{{ datadog_app_key }}"
        tags: "{{ datadog_default_tags }}"

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_maintainer plugins plugin (any type) labels Apr 5, 2024
greenflowers pushed a commit to greenflowers/community.general that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module needs_maintainer plugins plugin (any type)
Projects
None yet
2 participants