Skip to content

Instantly share code, notes, and snippets.

@amogram
Created January 21, 2021 17:14
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 amogram/a937c1f0d83ec8dee2a390ed8fdcecf6 to your computer and use it in GitHub Desktop.
Save amogram/a937c1f0d83ec8dee2a390ed8fdcecf6 to your computer and use it in GitHub Desktop.
Run terraform plan -input=false -out=$PLAN | sed -r 's/([[:space:]~+-]*).*(password|secret|key).*/\1****************/gi'
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
****************
****************
****************
****************
module.auth0.auth0_client.dacp_frontend: Refreshing state... [id=Qvsk4nxqQ9O8qmyWqiosq52IwC9O4FNj]
module.acme.acme_registration.lets_encrypt: Refreshing state... [id=https://acme-v02.api.letsencrypt.org/acme/acct/110173617]
module.auth0.auth0_client.dacp_backend_mgmt_api_access: Refreshing state... [id=zXlenFw9objBbZyIm7NwFX4Yn8uD3yMR]
module.auth0.auth0_custom_domain.custom_domain: Refreshing state... [id=cd_nlLJRMnaCTItMyr7]
****************
module.auth0.auth0_resource_server.dacp_backend: Refreshing state... [id=60085c631166b4004091706e]
module.acme.acme_certificate.certificate: Refreshing state... [id=ead41e8c-eb41-6c21-5f84-e77320d21d2a]
module.auth0.auth0_client_grant.dacp_mgmt_api_grant: Refreshing state... [id=cgr_1c245TeNt38XRbU2]
module.auth0.auth0_role.organisation_admin: Refreshing state... [id=rol_dMHAl00A611zNwHb]
module.auth0.auth0_role.super_user: Refreshing state... [id=rol_4pBPo8o8TLarwvnS]
****************
****************
****************
module.dacp-web-app.data.azurerm_client_config.current: Refreshing state... [id=2021-01-20 16:37:44.755536639 +0000 UTC]
module.website-cdn.data.azurerm_client_config.current: Refreshing state... [id=2021-01-20 16:37:44.756255437 +0000 UTC]
****************
module.hub-functionapp.azurerm_resource_group.functionapp-resource-group: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-hub-functionapp-rg]
azurerm_resource_group.root-resource-group: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg]
module.hub-functionapp.azurerm_storage_account.functionapp-storage-account: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Storage/storageAccounts/devhubfunctionappst]
module.hub-functionapp.azurerm_app_service_plan.functionapp-service-plan: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-hub-functionapp-rg/providers/Microsoft.Web/serverfarms/dev-hub-functionapp-plan]
module.website-storage-account.azurerm_storage_account.site-storage: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Storage/storageAccounts/devdacpst]
module.content-distribution.azurerm_storage_account.content-storage: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Storage/storageAccounts/devcontentdistributionst]
module.monitor.azurerm_monitor_action_group.ops-email: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/microsoft.insights/actionGroups/dev-monitor-email-action]
module.dacp-web-app.azurerm_app_service_plan.app_service_plan: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Web/serverfarms/dev-dacp-plan]
module.iot-hub.azurerm_servicebus_namespace.iot-hub-sb-namespace: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace]
module.monitor.azurerm_log_analytics_workspace.log_workspace: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.OperationalInsights/workspaces/dev-monitor-log]
module.iot-hub.azurerm_storage_account.iot-hub-storage: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Storage/storageAccounts/deviothubst]
module.monitor.azurerm_application_insights.insights: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/microsoft.insights/components/dev-monitor-appi]
module.content-distribution.azurerm_cdn_profile.cdn-profile: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Cdn/profiles/dev-content-distribution-content-cdn-profile]
module.iot-hub.azurerm_iothub.iot-hub: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot]
module.application-gateway.azurerm_public_ip.gw_ip: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/publicIPAddresses/dev-gateway-pip]
module.website-cdn.azurerm_cdn_profile.cdn-profile: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Cdn/profiles/dev-dacp-cdn-profile]
module.network.azurerm_network_security_group.agw_nsg: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/networkSecurityGroups/dev-network-agw-snet-nsg]
module.network.azurerm_virtual_network.vnet: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/virtualNetworks/dev-network-vnet]
****************
****************
module.network.azurerm_subnet.agw_subnet: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/virtualNetworks/dev-network-vnet/subnets/dev-network-agw-snet]
module.iot-hub.azurerm_servicebus_namespace_authorization_rule.read_write_rule: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/AuthorizationRules/dev-iot-hub-sb-readwriterule]
module.monitor.azurerm_monitor_scheduled_query_rules_alert.functionapp_log_alert: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/microsoft.insights/scheduledqueryrules/dev-monitor-function-app-log-message-alert]
module.monitor.azurerm_monitor_scheduled_query_rules_alert.webapp_log_alert: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/microsoft.insights/scheduledqueryrules/dev-monitor-web-app-log-message-alert]
module.iot-hub.azurerm_iothub_dps.iot-hub-dps: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/provisioningServices/dev-iot-hub-dps]
module.iot-hub.module.device_life_cycle_event_servicebus_queue_endpoint.azurerm_servicebus_queue.sb-queue: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicelifecycleevent-sb-queue]
module.iot-hub.module.device_message_servicebus_queue_endpoint.azurerm_servicebus_queue.sb-queue: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicemessage-sb-queue]
module.iot-hub.module.device_twin_change_servicebus_queue_endpoint.azurerm_servicebus_queue.sb-queue: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicetwinchange-sb-queue]
module.network.azurerm_subnet_network_security_group_association.agw_nsg_association: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/virtualNetworks/dev-network-vnet/subnets/dev-network-agw-snet]
module.network.azurerm_network_security_rule.agw_nsg_gm_allow: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/networkSecurityGroups/dev-network-agw-snet-nsg/securityRules/dev-network-agw-nsg-gm-allow]
module.network.azurerm_network_security_rule.agw_nsg_ip_allow: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Network/networkSecurityGroups/dev-network-agw-snet-nsg/securityRules/dev-network-agw-nsg-ip-allow]
module.iot-hub.module.device_life_cycle_event_servicebus_queue_endpoint.azurerm_servicebus_queue_authorization_rule.sb-queue-auth: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicelifecycleevent-sb-queue/authorizationRules/dev-devicelifecycleevent-sb-send-rule]
****************
module.monitor.azurerm_monitor_metric_alert.service_bus_user_error_alert: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Insights/metricAlerts/dev-monitor-sb-user-error-alert]
module.monitor.azurerm_monitor_metric_alert.service_bus_server_error_alert: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Insights/metricAlerts/dev-monitor-sb-server-error-alert]
module.monitor.azurerm_monitor_metric_alert.deadletter_alert: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Insights/metricAlerts/dev-monitor-deadletter-alert]
module.iot-hub.module.device_message_servicebus_queue_endpoint.azurerm_servicebus_queue_authorization_rule.sb-queue-auth: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicemessage-sb-queue/authorizationRules/dev-devicemessage-sb-send-rule]
module.content-distribution.azurerm_storage_container.manifest_container: Refreshing state... [id=https://devcontentdistributionst.blob.core.windows.net/manifests]
module.content-distribution.azurerm_storage_container.video_container: Refreshing state... [id=https://devcontentdistributionst.blob.core.windows.net/videos]
module.hub-functionapp.azurerm_storage_container.deployments: Refreshing state... [id=https://devhubfunctionappst.blob.core.windows.net/function-releases]
module.hub-functionapp.data.azurerm_storage_account_sas.sas: Refreshing state... [id=a6d605fb411f51796c82aaf3ecad3924ea072c2278eeb2c284d43c63f257e0ad]
module.iot-hub.module.device_twin_change_servicebus_queue_endpoint.azurerm_servicebus_queue_authorization_rule.sb-queue-auth: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.ServiceBus/namespaces/dev-iot-hub-sb-namespace/queues/dev-devicetwinchange-sb-queue/authorizationRules/dev-devicetwinchange-sb-send-rule]
****************
module.hub-functionapp.azurerm_storage_blob.appcode: Refreshing state... [id=https://devhubfunctionappst.blob.core.windows.net/function-releases/functionapp.zip]
module.hub-functionapp.azurerm_function_app.functionapp: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Web/sites/dev-hub-functionapp-func]
module.iot-hub.module.device_message_storage_endpoint.azurerm_storage_container.iot-hub-storage-container: Refreshing state... [id=https://deviothubst.blob.core.windows.net/devicemessage]
module.iot-hub.module.device_life_cycle_event_storage_endpoint.azurerm_storage_container.iot-hub-storage-container: Refreshing state... [id=https://deviothubst.blob.core.windows.net/devicelifecycleevent]
module.iot-hub.module.device_twin_change_storage_endpoint.azurerm_storage_container.iot-hub-storage-container: Refreshing state... [id=https://deviothubst.blob.core.windows.net/devicetwinchange]
module.iot-hub.module.device_life_cycle_event_servicebus_queue_endpoint.azurerm_iothub_endpoint_servicebus_queue.iot-hub-sb-queue-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicelifecycleevent-sb-endpoint]
module.iot-hub.module.device_message_storage_endpoint.azurerm_iothub_endpoint_storage_container.iot-hub-storage-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicemessage-st-endpoint]
module.iot-hub.module.device_life_cycle_event_storage_endpoint.azurerm_iothub_endpoint_storage_container.iot-hub-storage-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicelifecycleevent-st-endpoint]
module.iot-hub.module.device_life_cycle_event_servicebus_queue_endpoint.azurerm_iothub_route.iot-hub-sb-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicelifecycleevent-sb-route]
module.iot-hub.module.device_message_storage_endpoint.azurerm_iothub_route.iot-hub-storage-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicemessage-st-route]
module.iot-hub.module.device_twin_change_storage_endpoint.azurerm_iothub_endpoint_storage_container.iot-hub-storage-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicetwinchange-st-endpoint]
module.iot-hub.module.device_life_cycle_event_storage_endpoint.azurerm_iothub_route.iot-hub-storage-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicelifecycleevent-st-route]
module.iot-hub.module.device_twin_change_storage_endpoint.azurerm_iothub_route.iot-hub-storage-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicetwinchange-st-route]
module.iot-hub.module.device_twin_change_servicebus_queue_endpoint.azurerm_iothub_endpoint_servicebus_queue.iot-hub-sb-queue-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicetwinchange-sb-endpoint]
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: rpc error: code = Unavailable desc = transport is closing
Error: GET https://api.github.com/repos//bg-dashboards-and-control-panels-frontend/actions/secrets/public-key: 404 Not Found []
on github-repo-secrets/main.tf line 1, in data "github_actions_public_key" "repo_public_key":
1: data "github_actions_public_key" "repo_public_key" {
module.iot-hub.module.device_twin_change_servicebus_queue_endpoint.azurerm_iothub_route.iot-hub-sb-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicetwinchange-sb-route]
module.iot-hub.module.device_message_servicebus_queue_endpoint.azurerm_iothub_endpoint_servicebus_queue.iot-hub-sb-queue-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Endpoints/dev-devicemessage-sb-endpoint]
module.iot-hub.module.device_message_servicebus_queue_endpoint.azurerm_iothub_route.iot-hub-sb-route: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Devices/IotHubs/dev-iot-hub-iot/Routes/dev-devicemessage-sb-route]
module.website-cdn.azurerm_cdn_endpoint.cdn-endpoint: Refreshing state... [id=/subscriptions/***/resourceGroups/dev-core-infrastructure-rg/providers/Microsoft.Cdn/profiles/dev-dacp-cdn-profile/endpoints/dev-dacp-cdn-endpoint]
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment