Organization ID - 0000000000004608
Plan Type - SUMO Logic Continuous Intelligence Service - CF Credit - Free
Issue:
I have created terraform files that build scalable lookup files ( with a python script to populate lookup files ).
The terraform files work well when the organization has the right permissions ( free does not have access to scalable lookup files )
The issue is the provider captures the error from the API service, but does not pass the error up through Terraform.
Thus, after using terraform apply, I find I see the errors in the terraform output, but the terraform exit status is 0 which is incorrect.
Details:
╷
│ Error: {"id":"FAVC1-PVDQK-4V735","errors":[{"code":"lookup:invalid_request","message":"Invalid lookup table request.","detail":"Scalable Lookups is not available in your account type."}]}
│
│ with sumologic_lookup_table.rf-url-table,
│ on rfsyncprep.lookups.url.tf line 1, in resource "sumologic_lookup_table" "rf-url-table":
│ 1: resource "sumologic_lookup_table" "rf-url-table" {
│
╵
╷
│ Error: {"id":"VEFLW-BVM9D-PQT1S","errors":[{"code":"lookup:invalid_request","message":"Invalid lookup table request.","detail":"Scalable Lookups is not available in your account type."}]}
│
│ with sumologic_lookup_table.rf-vulnerability-table,
│ on rfsyncprep.lookups.vulnerability.tf line 1, in resource "sumologic_lookup_table" "rf-vulnerability-table":
│ 1: resource "sumologic_lookup_table" "rf-vulnerability-table" {
│
╵
Organization ID - 0000000000004608 Plan Type - SUMO Logic Continuous Intelligence Service - CF Credit - Free
Issue: I have created terraform files that build scalable lookup files ( with a python script to populate lookup files ).
The terraform files work well when the organization has the right permissions ( free does not have access to scalable lookup files )
The issue is the provider captures the error from the API service, but does not pass the error up through Terraform.
Thus, after using terraform apply, I find I see the errors in the terraform output, but the terraform exit status is 0 which is incorrect.
Details: ╷ │ Error: {"id":"FAVC1-PVDQK-4V735","errors":[{"code":"lookup:invalid_request","message":"Invalid lookup table request.","detail":"Scalable Lookups is not available in your account type."}]} │ │ with sumologic_lookup_table.rf-url-table, │ on rfsyncprep.lookups.url.tf line 1, in resource "sumologic_lookup_table" "rf-url-table": │ 1: resource "sumologic_lookup_table" "rf-url-table" { │ ╵ ╷ │ Error: {"id":"VEFLW-BVM9D-PQT1S","errors":[{"code":"lookup:invalid_request","message":"Invalid lookup table request.","detail":"Scalable Lookups is not available in your account type."}]} │ │ with sumologic_lookup_table.rf-vulnerability-table, │ on rfsyncprep.lookups.vulnerability.tf line 1, in resource "sumologic_lookup_table" "rf-vulnerability-table": │ 1: resource "sumologic_lookup_table" "rf-vulnerability-table" { │ ╵