Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Resolve unknown configuration key error #64

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions builder/ncloud/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ type Config struct {
// - values: public / gov / fin
Site string `mapstructure:"site" required:"false"`

// Deprecated
AccessControlGroupConfigurationNo string `mapstructure:",skip"`

Comm communicator.Config `mapstructure:",squash"`
ctx *interpolate.Context
}
Expand Down Expand Up @@ -158,10 +155,6 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) {
errs = packersdk.MultiErrorAppend(errs, errors.New("if `user_data` field is set, length of UserData should be max 21847"))
}

if c.AccessControlGroupConfigurationNo != "" {
errs = packersdk.MultiErrorAppend(errs, errors.New("`access_control_group_configuration_no` is deprecated, please use `access_control_group_no` instead"))
}

if c.VpcNo != "" || c.SubnetNo != "" {
c.SupportVPC = true
}
Expand Down
Loading