Skip to content

Conversation

@BusiPlay
Copy link

Per the note in https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#security_groups, when creating Instances in a VPC, use vpc_security_group_ids instead. Otherwise Terraform plan/apply post the initial apply deletes and recreates the instance.

Per the note in https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#security_groups, when creating Instances in a VPC, use vpc_security_group_ids instead. Otherwise Terraform plan/apply post the initial apply deletes and recreates the instance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant