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/).
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"]
}
The following arguments are supported:
github_organizations
- (Optional, list of strings) The Github organisations allowed access to the accountgoogle_domains
- (Optional, list of strings) The list of Google domains (e.g. foo.com) allowed access to the account
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).