hashicorp / hashicorp/terraform-plugin-sdk

Add `DeleteWarning` message to resource level

Open
#411 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement terraform-plugin-framework upstream-terraform
Dominant language
Go
Stars
485
Forks
244
Avg merge
19h 57m
Merged PRs (30d)
4

Description

Deletion of some resources is inherently problematic (data loss, money, etc). In cases where there is significant potential user issues from an accidental deletion, we want to provide additional warning messages at plan time about the deletion.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining how the SDK represents resources and how plan-time deletions are surfaced to Terraform providers. The issue names a resource-level DeleteWarning but no files, entry points, tests, or exact API shape; done would require defining and implementing that warning behavior and covering its plan-time output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, terraform
Domain
devtools, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.