Skip to content

Instantly share code, notes, and snippets.

@schmidp
Created October 28, 2021 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmidp/e2ad307337dd86dbc9936f6ddf0d3128 to your computer and use it in GitHub Desktop.
Save schmidp/e2ad307337dd86dbc9936f6ddf0d3128 to your computer and use it in GitHub Desktop.
Azure Eventhub Debug Output
2021-10-28T20:10:36.3770891Z 2021-10-28T20:10:35.804Z [WARN] Provider "registry.terraform.io/hashicorp/azurerm" produced an invalid plan for azurerm_eventhub_namespace.main, but we are tolerating it because it is using the legacy plugin SDK.
2021-10-28T20:10:36.3771593Z The following problems may be the cause of any confusing errors from downstream operations:
2021-10-28T20:10:36.3775395Z - .network_rulesets: planned value cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"default_action":cty.StringVal("Deny"), "ip_rule":cty.ListValEmpty(cty.Object(map[string]cty.Type{"action":cty.String, "ip_mask":cty.String})), "trusted_service_access_enabled":cty.True, "virtual_network_rule":cty.ListValEmpty(cty.Object(map[string]cty.Type{"ignore_missing_virtual_network_service_endpoint":cty.Bool, "subnet_id":cty.String}))})}) does not match config value cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"default_action":cty.StringVal("Deny"), "ip_rule":cty.NullVal(cty.List(cty.Object(map[string]cty.Type{"action":cty.String, "ip_mask":cty.String}))), "trusted_service_access_enabled":cty.True, "virtual_network_rule":cty.NullVal(cty.List(cty.Object(map[string]cty.Type{"ignore_missing_virtual_network_service_endpoint":cty.Bool, "subnet_id":cty.String})))})}) nor prior value cty.ListVal([]cty.Value{cty.ObjectVal(map[string]cty.Value{"default_action":cty.StringVal("Deny"), "ip_rule":cty.ListValEmpty(cty.Object(map[string]cty.Type{"action":cty.String, "ip_mask":cty.String})), "trusted_service_access_enabled":cty.False, "virtual_network_rule":cty.ListValEmpty(cty.Object(map[string]cty.Type{"ignore_missing_virtual_network_service_endpoint":cty.Bool, "subnet_id":cty.String}))})})
2021-10-28T20:10:36.3778383Z - .dedicated_cluster_id: planned value cty.StringVal("") for a non-computed attribute
2021-10-28T20:10:36.3778981Z - .auto_inflate_enabled: planned value cty.False for a non-computed attribute
2021-10-28T20:10:36.3779890Z azurerm_eventhub_namespace.main: Modifying... [id=/subscriptions/***/resourceGroups/XXXXX/providers/Microsoft.EventHub/namespaces/ehn-main]
2021-10-28T20:10:36.3780615Z 2021-10-28T20:10:35.806Z [INFO] Starting apply for azurerm_eventhub_namespace.main
2021-10-28T20:10:36.3781264Z 2021-10-28T20:10:35.807Z [DEBUG] azurerm_eventhub_namespace.main: applying the planned Update change
2021-10-28T20:10:36.3782142Z 2021-10-28T20:10:35.809Z [INFO] provider.terraform-provider-azurerm_v2.82.0_x5: preparing arguments for AzureRM EventHub Namespace creation.: timestamp=2021-10-28T20:10:35.809Z
2021-10-28T20:10:36.3782977Z 2021-10-28T20:10:35.810Z [DEBUG] provider.terraform-provider-azurerm_v2.82.0_x5: AzureRM Request:
2021-10-28T20:10:36.3783839Z PUT /subscriptions/***/resourceGroups/XXXXX/providers/Microsoft.EventHub/namespaces/ehn-main?api-version=2021-01-01-preview HTTP/1.1
2021-10-28T20:10:36.3784249Z Host: management.azure.com
2021-10-28T20:10:36.3785258Z User-Agent: Go/go1.16.7 (amd64-linux) go-autorest/v14.2.1 pandora/namespaces/2021-01-01-preview HashiCorp Terraform/1.0.9 (+https://www.terraform.io) Terraform Plugin SDK/2.7.0 terraform-provider-azurerm/2.82.0 VSTS_cfcd45b4-fc45-42bb-a502-8d0af57f2776_build_149_0 pid-222c6c49-1b0a-5959-a213-6608f9eb8820
2021-10-28T20:10:36.3786005Z Content-Length: 378
2021-10-28T20:10:36.3786416Z Content-Type: application/json; charset=utf-8
2021-10-28T20:10:36.3786942Z X-Ms-Correlation-Request-Id: XXXXX
2021-10-28T20:10:36.3787385Z Accept-Encoding: gzip
2021-10-28T20:10:36.3787509Z
2021-10-28T20:10:36.3788830Z {"identity":{"type":"SystemAssigned","tenantId":"","principalId":"","userAssignedIdentities":null},"location":"westeurope","properties":{"isAutoInflateEnabled":false,"zoneRedundant":true},"sku":{"capacity":1,"name":"Premium","tier":"Premium"}}: timestamp=2021-10-28T20:10:35.810Z
2021-10-28T20:10:37.0364383Z 2021-10-28T20:10:37.035Z [DEBUG] provider.terraform-provider-azurerm_v2.82.0_x5: AzureRM Response for https://management.azure.com/subscriptions/***/resourceGroups/XXXXX/providers/Microsoft.EventHub/namespaces/ehn-main?api-version=2021-01-01-preview:
2021-10-28T20:10:37.0365492Z HTTP/2.0 400 Bad Request
2021-10-28T20:10:37.0366204Z Content-Length: 208
2021-10-28T20:10:37.0366874Z Cache-Control: no-cache
2021-10-28T20:10:37.0367573Z Content-Type: application/json; charset=utf-8
2021-10-28T20:10:37.0368104Z Date: Thu, 28 Oct 2021 20:10:36 GMT
2021-10-28T20:10:37.0368701Z Expires: -1
2021-10-28T20:10:37.0369484Z Pragma: no-cache
2021-10-28T20:10:37.0370172Z Server: Service-Bus-Resource-Provider/CH3
2021-10-28T20:10:37.0370888Z Server: Microsoft-HTTPAPI/2.0
2021-10-28T20:10:37.0371611Z Server-Sb: Service-Bus-Resource-Provider/CH3
2021-10-28T20:10:37.0372376Z Strict-Transport-Security: max-age=31536000; includeSubDomains
2021-10-28T20:10:37.0373534Z X-Content-Type-Options: nosniff
2021-10-28T20:10:37.0374304Z X-Ms-Correlation-Request-Id: XXXXX
2021-10-28T20:10:37.0375073Z X-Ms-Ratelimit-Remaining-Subscription-Resource-Requests: 49
2021-10-28T20:10:37.0375873Z X-Ms-Request-Id: XXXXX
2021-10-28T20:10:37.0376723Z X-Ms-Routing-Request-Id: NORTHEUROPE:20211028T201037Z:124d6776-1bec-44a1-98e3-b8b8c5256639
2021-10-28T20:10:37.0377323Z
2021-10-28T20:10:37.0378399Z {"error":{"message":"Encryption properties are missing. Note: Once encryption has been enabled on a namespace, it cannot be disabled. CorrelationId: XXXXX","code":"BadRequest"}}: timestamp=2021-10-28T20:10:37.035Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment