Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.14 KB

authentication.md

File metadata and controls

26 lines (17 loc) · 1.14 KB

Authentication Settings Resource

This resource manages the authentication settings on a Pactflow account.

-> This feature is supported for the pactflow.io cloud platform, and does not apply to the on-premise version. Additionally, only customers on the legacy (Cognito) authentication mode may modify these settings (see https://docs.pactflow.io/docs/authentication/main/).

Example Usage

The following examples show the basic usage of the resource.

resource "pact_authentication" "authentication" {
  github_organizations = ["DiUS", "pactflow"]
  google_domains = ["dius.com.au", "onegeek.com.au"]
}

Argument Reference

The following arguments are supported:

  • github_organizations - (Optional, list of strings) The Github organisations allowed access to the account
  • google_domains - (Optional, list of strings) The list of Google domains (e.g. foo.com) allowed access to the account

Importing

Import is not supported, as it's not useful. Simply copy the settings from the UI into the resource and you should be able to apply the settings over the top (the same as an import, except without needing to first perform the import step).