Skip to content

Commit

Permalink
Set default sg (#8)
Browse files Browse the repository at this point in the history
* fix: resolve idempotency issue by explicitly using the vpc default sg

* fix: delay vpcs data lookup until new vpc created
  • Loading branch information
vburckhardt committed Jul 4, 2022
1 parent a4fefd8 commit a16880f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ locals {
##############################################################################

data "ibm_is_vpcs" "vpcs" {
depends_on = [
var.vpc_id
]
}

data "ibm_is_vpc" "vpc" {
Expand Down

0 comments on commit a16880f

Please sign in to comment.