Created
July 11, 2022 15:19
-
-
Save julianandrews/cf34473c48dfb8de39ddb10527e9d6e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ TFLOG=DEBUG terraform apply | |
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following | |
symbols: | |
+ create | |
Terraform will perform the following actions: | |
# frontegg_workspace.workspace will be created | |
+ resource "frontegg_workspace" "workspace" { | |
+ allowed_origins = [ | |
+ "http://localhost:3000/", | |
] | |
+ backend_stack = "Node" | |
+ country = "US" | |
+ frontegg_domain = "pocus-bug.frontegg.com" | |
+ frontend_stack = "React" | |
+ id = (known after apply) | |
+ name = "Pocus Bug" | |
+ open_saas_installed = false | |
+ admin_portal { | |
+ enable_account_settings = false | |
+ enable_api_tokens = false | |
+ enable_audit_logs = false | |
+ enable_personal_api_tokens = false | |
+ enable_privacy = true | |
+ enable_profile = false | |
+ enable_roles = true | |
+ enable_security = true | |
+ enable_sso = false | |
+ enable_subscriptions = false | |
+ enable_usage = false | |
+ enable_users = true | |
+ enable_webhooks = false | |
+ palette { | |
+ error = "#FC8181" | |
+ info = "#5587C0" | |
+ primary = "#6B46C1" | |
+ primary_text = "#FFFFFF" | |
+ secondary = "#FBFBFC" | |
+ secondary_text = "#3C4A5A" | |
+ success = "#2CA744" | |
+ warning = "#F6AD55" | |
} | |
} | |
+ auth_policy { | |
+ allow_signups = false | |
+ allow_unverified_users = false | |
+ enable_api_tokens = false | |
+ enable_roles = true | |
+ jwt_access_token_expiration = 43200 | |
+ jwt_algorithm = "RS256" | |
+ jwt_public_key = (known after apply) | |
+ jwt_refresh_token_expiration = 2592000 | |
+ same_site_cookie_policy = "none" | |
} | |
+ mfa_policy { | |
+ allow_remember_device = true | |
+ device_expiration = 604800 | |
+ enforce = "off" | |
} | |
+ password_policy { | |
+ allow_passphrases = false | |
+ history = 0 | |
+ max_length = 128 | |
+ min_length = 8 | |
+ min_phrase_length = 8 | |
+ min_tests = 4 | |
} | |
} | |
Plan: 1 to add, 0 to change, 0 to destroy. | |
Do you want to perform these actions? | |
Terraform will perform the actions described above. | |
Only 'yes' will be accepted to approve. | |
Enter a value: yes | |
frontegg_workspace.workspace: Creating... | |
╷ | |
│ Error: restclient: request failed: POST https://api.frontegg.com/identity/resources/configurations/v1/lockout-policy: 400 Bad Request: map[Access-Control-Allow-Credentials:[true] Cf-Cache-Status:[DYNAMIC] Cf-Ray:[729282c78a98034d-MIA] Content-Length:[50] Content-Security-Policy:[default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests] Content-Type:[application/json; charset=utf-8] Date:[Mon, 11 Jul 2022 15:18:17 GMT] Etag:[W/"32-f3IcRPoCuHgflHep8IYWB+xCNmA"] Expect-Ct:[max-age=0] Frontegg-Trace-Id:[7ec4e562-c105-4624-b29a-c556a0f30798] Referrer-Policy:[no-referrer] Server:[cloudflare] Strict-Transport-Security:[max-age=15724800; includeSubDomains] Vary:[Origin] X-Content-Type-Options:[nosniff] X-Dns-Prefetch-Control:[off] X-Download-Options:[noopen] X-Frame-Options:[SAMEORIGIN] X-Permitted-Cross-Domain-Policies:[none] X-Xss-Protection:[0]]: {"errors":["maxAttempts must not be less than 1"]} | |
│ | |
│ with frontegg_workspace.workspace, | |
│ on main.tf line 15, in resource "frontegg_workspace" "workspace": | |
│ 15: resource "frontegg_workspace" "workspace" { | |
│ | |
╵ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment