Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nithyatsu committed Nov 26, 2024
1 parent 12ccba7 commit c16dc85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/validation/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"context"
"encoding/json"
"fmt"
"os"
"testing"
"time"

Expand Down Expand Up @@ -178,8 +177,9 @@ func IsAWSResourceNotFound(ctx context.Context, resource *AWSResource, client aw
// GetResourceIdentifier retrieves the identifier of a resource from the environment variables and the context.
func GetResourceIdentifier(ctx context.Context, resourceType string, name string) (string, error) {

region := os.Getenv("AWS_REGION")
return "/planes/aws/aws/accounts/" + "179022619019" + "/regions/" + region + "/providers/" + resourceType + "/" + name, nil
//region := os.Getenv("AWS_REGION")
return "failing deliberately string", fmt.Errorf("failibrarteng delibratly")
//return "/planes/aws/aws/accounts/" + "179022619019" + "/regions/" + region + "/providers/" + resourceType + "/" + name, nil
}

// GetResourceTypeName retrieves the AWS resource type name from the resource identifier and context. It returns an
Expand Down

0 comments on commit c16dc85

Please sign in to comment.