Still trying to wrap my head around the contents of swag-api.yml and haven't been able to figure out exactly where this problem is, but trying to use the provider in any way results in
Error: InternalValidate
│
│ with provider["registry.terraform.io/onelogin/onelogin"],
│ on providers.tf line 13, in provider "onelogin":
│ 13: provider "onelogin" {}
│
│ Internal validation of the provider failed! This is always a bug
│ with the provider itself, and not a user issue. Please report
│ this bug:
│
│ 1 error occurred:
│ * resource onelogin_brands: enabled: Default cannot be set with Required
Sample code:
terraform {
required_version = ">= 1.0.0"
required_providers {
onelogin = {
source = "onelogin/onelogin"
version = "0.3.6"
}
}
}
provider "onelogin" {} # seems to be required, even if empty as shown here
resource "onelogin_apps" "ol-aws-admin" {
connector_id = 30319
name = var.ol_application_friendly_name
auth_method = 2 # SAML
}
The branding has been removed from the spec, which has fixed that issue.
Version 0.3.8+ has a working authentication system, after getting from the generate token endpoint, it can be used by the provider.
Using provider 0.3.6.
Still trying to wrap my head around the contents of
swag-api.yml
and haven't been able to figure out exactly where this problem is, but trying to use the provider in any way results inSample code: