hashicorp / hashicorp/terraform-plugin-sdk

Add mean to denote resource restarts/downtime during plan, similar to ForceNew

Open
#86 4 comments 14 reactions 0 assignees View on GitHub
enhancement upstream-protocol
Dominant language
Go
Stars
485
Forks
244
Avg merge
19h 57m
Merged PRs (30d)
4

Description

Following up on @bflad's suggestion in https://github.com/terraform-providers/terraform-provider-aws/pull/2250#pullrequestreview-75794601, it would be great if Terraform core supported denoting resource restarts/downtime during plan phase, similar to how it denotes recreation (_forces new resource_).

Maybe adding a schema modifier like `ForcesDowntime` like the `ForcesNew` would do it.

For example, adding `ForcesDowntime` to the `instance_type` field of an EC2 instance would warn the user executing the plan that his modification to the configuration, or an out of band modification, will result in downtime of that instance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.