Skip to content

Commit

Permalink
fix project_id reference for IP blocks and attachments
Browse files Browse the repository at this point in the history
Signed-off-by: Marques Johansson <[email protected]>
  • Loading branch information
displague committed Mar 10, 2021
1 parent 7f1ce24 commit 8d43e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ProviderNetwork.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
data "metal_precreated_ip_block" "private_ipv4" {

facility = metal_device.controller.deployed_facility
project_id = metal_project.project.id
project_id = local.metal_project_id
address_family = 4
public = false

Expand All @@ -24,7 +24,7 @@ resource "metal_ip_attachment" "controller_private_ipv4" {
data "metal_precreated_ip_block" "public_ipv6" {

facility = metal_device.controller.deployed_facility
project_id = metal_project.project.id
project_id = local.metal_project_id
address_family = 6
public = true

Expand Down

0 comments on commit 8d43e8c

Please sign in to comment.