Skip to content

Commit

Permalink
Fix default network creation by correcting URL (#4748)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored and paddycarver committed Oct 25, 2019
1 parent 806a314 commit 4814754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/resource_google_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func resourceProjectImportState(d *schema.ResourceData, meta interface{}) ([]*sc

// Delete a compute network along with the firewall rules inside it.
func forceDeleteComputeNetwork(d *schema.ResourceData, config *Config, projectId, networkName string) error {
networkLink, err := replaceVars(d, config, fmt.Sprintf("{{ComputeBasePath}}%s/global/networks/%s", projectId, networkName))
networkLink, err := replaceVars(d, config, fmt.Sprintf("{{ComputeBasePath}}projects/%s/global/networks/%s", projectId, networkName))
if err != nil {
return err
}
Expand Down

0 comments on commit 4814754

Please sign in to comment.