mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-10 23:55:34 -06:00
Merge pull request #5432 from jtopjian/openstack-instance-tenantnet-403
provider/openstack: Account for a 403 reply from os-tenant-networks
This commit is contained in:
commit
a786d3d4ae
@ -922,7 +922,7 @@ func getInstanceNetworks(computeClient *gophercloud.ServiceClient, d *schema.Res
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if errCode.Actual == 404 {
|
||||
if errCode.Actual == 404 || errCode.Actual == 403 {
|
||||
tenantNetworkExt = false
|
||||
} else {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user