diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 1eb0243..f1a4ed9 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -26,11 +26,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 'pre-commit check errors' - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 continue-on-error: true - name: 'pre-commit fix erros' - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 continue-on-error: true - name: 'push readme' diff --git a/outputs.tf b/outputs.tf index 4339e74..1e9e548 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,9 +1,9 @@ output "dns_name" { - value = azurerm_bastion_host.main[0].dns_name + value = try(azurerm_bastion_host.main[0].dns_name, null) description = "Specifies the name of the bastion host" } output "id" { - value = azurerm_bastion_host.main[0].id + value = try(azurerm_bastion_host.main[0].id, null) description = "Specifies the resource id of the bastion host" }