We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are seeing an error when creating an hcp_vault_cluster resource:
Error: http configuration is invalid: allowed values for http_codec are only "JSON" or "NDJSON"
The resource includes an audit_log_config like this:
audit_log_config
resource "hcp_vault_cluster" "vault_cluster" { ...snip... audit_log_config { http_codec = "JSON" http_method = "POST" http_uri = var.sumologic_collector_url } }
It seems like this code is checking the wrong variable:
terraform-provider-hcp/internal/providersdkv2/resource_vault_cluster.go
Lines 1590 to 1592 in fcbb47d
httpMethod should probably be httpCodec here. The lines prior to this already validated httpMethod. This looks like a copy/paste error.
httpMethod
httpCodec
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We are seeing an error when creating an hcp_vault_cluster resource:
The resource includes an
audit_log_config
like this:It seems like this code is checking the wrong variable:
terraform-provider-hcp/internal/providersdkv2/resource_vault_cluster.go
Lines 1590 to 1592 in fcbb47d
httpMethod
should probably behttpCodec
here. The lines prior to this already validatedhttpMethod
. This looks like a copy/paste error.The text was updated successfully, but these errors were encountered: