Skip to content

Commit 01a6290

Browse files
committed
skip cli section of provider test as currently incompatible with MFA policies on target env
1 parent 14bf11e commit 01a6290

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/provider-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
with:
4444
go-version-file: ./.go-version
4545

46-
- name: Azure CLI login
47-
run: az login --output none --username="${{ secrets.AZCLI_USERNAME }}" --password="${{ secrets.AZCLI_PASSWORD }}"
46+
# - name: Azure CLI login
47+
# run: az login --output none --username="${{ secrets.AZCLI_USERNAME }}" --password="${{ secrets.AZCLI_PASSWORD }}"
4848

4949
- name: Set OIDC Token
5050
run: |

internal/provider/provider_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func TestProvider_impl(t *testing.T) {
2828
}
2929

3030
func TestAccProvider_cliAuth(t *testing.T) {
31+
t.Skip("skipping test for now, as it requires Azure CLI authentication to be set up in the environment which if not compatible with MFA Requirement")
32+
3133
if os.Getenv("TF_ACC") == "" {
3234
t.Skip("TF_ACC not set")
3335
}

0 commit comments

Comments
 (0)