Closed yilinjuang closed 2 years ago
Since AWS doesn't allow updating launch configuration in place, terraform tried to delete the old configuration and create a new one but failed.
https://github.com/hashicorp/terraform-provider-aws/issues/8485
In the doc, they recommend that we set lifecycle and name_prefix
lifecycle
name_prefix
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_configuration#using-with-autoscaling-groups
Since AWS doesn't allow updating launch configuration in place, terraform tried to delete the old configuration and create a new one but failed.
https://github.com/hashicorp/terraform-provider-aws/issues/8485
In the doc, they recommend that we set
lifecycle
andname_prefix
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_configuration#using-with-autoscaling-groups