@ -9,7 +9,6 @@ import (
"testing"
"github.com/hashicorp/terraform/internal/backend"
"github.com/hashicorp/terraform/internal/legacy/helper/acctest"
)
func TestBackend_impl ( t * testing . T ) {
@ -44,7 +43,7 @@ func TestBackendConfig(t *testing.T) {
func TestAccBackendAccessKeyBasic ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -70,7 +69,7 @@ func TestAccBackendAccessKeyBasic(t *testing.T) {
func TestAccBackendSASTokenBasic ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -100,7 +99,7 @@ func TestAccBackendSASTokenBasic(t *testing.T) {
func TestAccBackendOIDCBasic ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -128,7 +127,7 @@ func TestAccBackendOIDCBasic(t *testing.T) {
func TestAccBackendAzureADAuthBasic ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
res . useAzureADAuth = true
armClient := buildTestClient ( t , res )
@ -156,7 +155,7 @@ func TestAccBackendAzureADAuthBasic(t *testing.T) {
func TestAccBackendManagedServiceIdentityBasic ( t * testing . T ) {
testAccAzureBackendRunningInAzure ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -191,7 +190,7 @@ func TestAccBackendServicePrincipalClientCertificateBasic(t *testing.T) {
t . Skip ( "Skipping since `ARM_CLIENT_CERTIFICATE_PATH` is not specified!" )
}
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -221,7 +220,7 @@ func TestAccBackendServicePrincipalClientCertificateBasic(t *testing.T) {
func TestAccBackendServicePrincipalClientSecretBasic ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -257,7 +256,7 @@ func TestAccBackendServicePrincipalClientSecretCustomEndpoint(t *testing.T) {
t . Skip ( "Skipping as ARM_ENDPOINT isn't configured" )
}
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -286,7 +285,7 @@ func TestAccBackendServicePrincipalClientSecretCustomEndpoint(t *testing.T) {
func TestAccBackendAccessKeyLocked ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )
@ -324,7 +323,7 @@ func TestAccBackendAccessKeyLocked(t *testing.T) {
func TestAccBackendServicePrincipalLocked ( t * testing . T ) {
testAccAzureBackend ( t )
rs := acctest . R andString( 4 )
rs := r andString( 4 )
res := testResourceNames ( rs , "testState" )
armClient := buildTestClient ( t , res )