Skip to content

Commit

Permalink
Merge branch 'add-subscription-id-url' of https://github.com/ashpr/tf…
Browse files Browse the repository at this point in the history
…state-lookup into add-subscription-id-url
  • Loading branch information
ashpr authored and ashpr committed May 18, 2023
2 parents 4a0c18c + 99ca7fd commit c367c80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tfstate/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func ReadURL(ctx context.Context, loc string) (*TFState, error) {
src, err = readGCS(ctx, u.Host, key, "", os.Getenv("GOOGLE_ENCRYPTION_KEY"))
case "azurerm":
split := strings.SplitN(u.Path, "/", 4)

if len(split) < 4 {
err = fmt.Errorf("invalid azurerm url: %s", u.String())
break
Expand Down

0 comments on commit c367c80

Please sign in to comment.