Skip to content

Commit

Permalink
Rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
Juerg-Liechti committed Oct 28, 2022
1 parent e660e44 commit 4ca9870
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ func (ws Workspace) getRemoteState() (RemoteState, error) {

if storage_account_name != "" && container_name != "" && key != "" && resource_group_name != "" {
rs = RemoteState{
InFile: filename,
Bucket: storage_account_name,
Key: key,
Profile: resource_group_name,
Containername: container_name,
InFile: filename,
Bucket: storage_account_name,
Key: key,
Profile: resource_group_name,
Region: container_name,
}
}
}
Expand Down Expand Up @@ -350,12 +350,12 @@ func (ws Workspace) getTerraformDependencies() ([]RemoteState, error) {
continue
}
rs := RemoteState{
InFile: filename,
Name: name,
Bucket: storage_account_name,
Key: key,
Profile: resource_group_name,
Containername: container_name,
InFile: filename,
Name: name,
Bucket: storage_account_name,
Key: key,
Profile: resource_group_name,
Region: container_name,
}
d = append(d, rs)
}
Expand Down Expand Up @@ -387,12 +387,12 @@ func (ws Workspace) getManualDependencies(workspaces map[string]*Workspace) ([]R
if strings.Contains(name, workspacePath) {

rs := RemoteState{
InFile: filename,
Name: workspacePath,
Bucket: workspace.RemoteState.Bucket,
Key: workspace.RemoteState.Key,
Profile: workspace.RemoteState.Profile,
Containername: workspace.RemoteState.Containername,
InFile: filename,
Name: workspacePath,
Bucket: workspace.RemoteState.Bucket,
Key: workspace.RemoteState.Key,
Profile: workspace.RemoteState.Profile,
Region: workspace.RemoteState.Region,
}

d = append(d, rs)
Expand Down

0 comments on commit 4ca9870

Please sign in to comment.