We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0197231 commit 4fa2ddfCopy full SHA for 4fa2ddf
post-processor/googlecompute-export/post-processor.go
@@ -102,6 +102,11 @@ func (p *PostProcessor) Configure(raws ...interface{}) error {
102
errs, fmt.Errorf("paths must be specified"))
103
}
104
105
+ if p.config.OmitExternalIP && !p.config.UseInternalIP {
106
+ errs = packersdk.MultiErrorAppend(
107
+ errs, fmt.Errorf("'use_internal_ip' must be true if 'omit_external_ip' is true"))
108
+ }
109
+
110
// Set defaults.
111
if p.config.DiskSizeGb == 0 {
112
p.config.DiskSizeGb = 200
0 commit comments