Skip to content

Fix: validate Terraform resource names before import, dry-run, and script output - #19

Open
AnasBabari wants to merge 1 commit into
123a-bcd:mainfrom
AnasBabari:fix/bounty-1-1784478786
Open

Fix: validate Terraform resource names before import, dry-run, and script output#19
AnasBabari wants to merge 1 commit into
123a-bcd:mainfrom
AnasBabari:fix/bounty-1-1784478786

Conversation

@AnasBabari

Copy link
Copy Markdown

Summary

The tool builds Terraform addresses from resource names without validating them, allowing invalid (e.g. hyphenated) names to reach terraform import. We need to add a validation function and call it before dry-run, import, and script generation.

Fixes: #1


Changes Made

  • tools/terraform_import.py

Bounty Claim: If this PR resolves the issue and is eligible for the bounty, please send the payout via PayPal: https://www.paypal.com/paypalme/plutoxvii

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