-
Notifications
You must be signed in to change notification settings - Fork 151
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
Deprecate securityGroups
instance argument
#852
Comments
@clstokes this doesn't feel like the correct fix IMO - this parameter is allowed because of EC2 classic - terraform still supports that. If we mark as deprecated then we may be adding confusion if they try and use EC2-Classic Thoughts? |
Given this, I think deprecating |
ok, can you tell me what message you would like the deprecation notice to have? I will be able to do it once pulumi/pulumi-terraform-bridge#96 is merged |
How about "Use of Can we "parameterize" the attribute names |
…Groups`. `SecurityGroups` doesn't allow for updates while `VpcSecurityGroupIds` does. See pulumi/pulumi-aws#852 for more context.
…Groups`. (#596) `SecurityGroups` doesn't allow for updates while `VpcSecurityGroupIds` does. See pulumi/pulumi-aws#852 for more context.
`security_groups` doesn't allow for updates while `vpc_security_group_ids` does. See pulumi/pulumi-aws#852 for more context. Also, updated `Buffer` usage based on https://nodejs.org/fr/docs/guides/buffer-constructor-deprecation/.
`security_groups` doesn't allow for updates while `vpc_security_group_ids` does. See pulumi/pulumi-aws#852 for more context. Also, updated `Buffer` usage based on https://nodejs.org/fr/docs/guides/buffer-constructor-deprecation/.
…Groups`. (#596) `SecurityGroups` doesn't allow for updates while `VpcSecurityGroupIds` does. See pulumi/pulumi-aws#852 for more context.
`security_groups` doesn't allow for updates while `vpc_security_group_ids` does. See pulumi/pulumi-aws#852 for more context. Also, updated `Buffer` usage based on https://nodejs.org/fr/docs/guides/buffer-constructor-deprecation/.
securityGroups
is a legacy setting from EC2's "classic" days and is almost always the wrong argument for users to use. WhensecurityGroups
is used, any changes to the list of security groups will result in replacing the instance (this is an EC2 limitation). Instead users should usevpcSecurityGroupIds
which allows for changes.Recommendation: can we deprecate
securityGroups
and/or log a warning when it is used to discourage its use?The text was updated successfully, but these errors were encountered: