Skip to content

Commit

Permalink
minor update to version
Browse files Browse the repository at this point in the history
  • Loading branch information
duedares-rvj committed Oct 9, 2024
1 parent 02a65c0 commit e9623b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion internal/cli/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func generateTerraformResourceConfig(ctx context.Context, outputDIR string) erro

installer := &releases.ExactVersion{
Product: product.Terraform,
Version: version.Must(version.NewVersion("1.8.0")),
Version: version.Must(version.NewVersion("1.5.0")),
InstallDir: absoluteOutputPath,
}

Expand Down
8 changes: 4 additions & 4 deletions internal/cli/terraform_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ func (f *flowResourceFetcher) FetchData(ctx context.Context) (importDataList, er
func (f *flowVaultConnectionResourceFetcher) FetchData(ctx context.Context) (importDataList, error) {
var data importDataList

flowVaultConnectionList, err := f.api.Flow.List(ctx)
flowVaultConnectionList, err := f.api.FlowVaultConnection.GetConnectionList(ctx)
if err != nil {
return data, err
}

for _, flow := range flowVaultConnectionList.Flows {
for _, flowVaultConnection := range flowVaultConnectionList.Connections {
data = append(data, importDataItem{
ResourceName: "auth0_flow_vault_connection." + sanitizeResourceName(flow.GetName()),
ImportID: flow.GetID(),
ResourceName: "auth0_flow_vault_connection." + sanitizeResourceName(flowVaultConnection.GetName()),
ImportID: flowVaultConnection.GetID(),
})
}

Expand Down

0 comments on commit e9623b7

Please sign in to comment.