Skip to content

Commit cbd16d9

Browse files
authored
Merge pull request #6 from stategraph/fix/ip-allocate-v4-yes-flag
fix: pass --yes to ips allocate-v4 for non-interactive use
2 parents 0504027 + a39ccfc commit cbd16d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resources/ip_address_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (r *ipAddressResource) Create(ctx context.Context, req resource.CreateReque
130130
allocateCmd = "allocate-v4"
131131
}
132132

133-
args := []string{"ips", allocateCmd, "-a", appName}
133+
args := []string{"ips", allocateCmd, "-a", appName, "--yes"}
134134
if addrType == "shared_v4" {
135135
args = append(args, "--shared")
136136
}

0 commit comments

Comments
 (0)