Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value "off_enterprise" not recognized as value for "security_level" #99

Closed
OffEnterprise opened this issue Jul 25, 2018 · 1 comment
Closed

Comments

@OffEnterprise
Copy link

Terraform Version

Terraform v0.11.7
+ provider.cloudflare v1.1.0

Affected Resource(s)

Please list the resources as a list, for example:

  • cloudflare_zone_settings_override

Terraform Configuration Files

resource "cloudflare_zone_settings_override" "flexible_ssl" {
  name = "${var.zone}"

  settings {
    ssl = "flexible"
    security_level = "off_enterprise"
  }
}

Expected Behavior

When I enter "off_enterprise" as a value for security_level, which is available for enterprise accounts, this should be accepted as a valid value.

Actual Behavior

Terraform failed with the following output:

Error: cloudflare_zone_settings_override.flexible_ssl: expected settings.0.security_level to be one of [essentially_off low medium high under_attack], got off_enterprise

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform plan

Important Factoids

The account in question is an Enterprise account.

@patryk patryk closed this as completed in c8464ec Jul 30, 2018
@patryk
Copy link
Contributor

patryk commented Jul 30, 2018

Hello, thanks for report. The correct setting value is off, which I have just added and will be released with next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants