As a user I would like to be able to create team maintenance policies with a global API key

XMLWordPrintable

    • 7

      Issue Summary

      At the moment, the only way to create a team maintenance policy through the API is to use a team-scoped API key (from an API integration assigned to that team). It's not possible to use a globally-scoped API key and then specify a team ID in the request body. This causes issues in a few scenarios, but most often when creating these resources through terraform - where it adds significant complexity to use different API keys to create specific resources.

      Suggestions

      Allow users to set the team in the request body when creating maintenance policies through the API

      Workaround

      As mentioned above - using a team-scoped API key will allow for this - and to extend, there are ways to explicitly define providers in terraform with different parameters (i.e. global and team API keys). See this document for some possible solutions:

       

      https://www.terraform.io/language/modules/develop/providers#passing-providers-explicitly

              Assignee:
              Unassigned
              Reporter:
              Justin Sitarz (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: