Skip to content

Conversation

@edmundmiller
Copy link
Contributor

Summary

Adds comprehensive import workflow skill for bringing manually-created 'click-ops' infrastructure under Pulumi management.

What's Included

Core Import Workflows

  • Single resource import: CLI-based workflow for individual resources
  • Bulk import: JSON-based import for multiple resources
  • Automated discovery: Python script to find AWS resources by prefix

Documentation

  • SKILL.md: Core import workflows with common operations
  • reference.md: Advanced patterns, large-scale strategies, troubleshooting
  • Examples: Complete walkthroughs for S3 buckets, IAM roles, GitHub repos

Helper Scripts

  • discover-aws-resources.py: Executable script to discover S3 buckets, IAM users, and IAM roles by prefix

Key Features

  • Progressive disclosure pattern (SKILL.md → reference.md → examples)
  • Safety-first approach with verification steps and preview requirements
  • 1Password + direnv credential integration
  • Real nf-core examples (co2-reports bucket, CI user)
  • Resource protection recommendations

Files Added

  • .claude/skills/pulumi/import/SKILL.md
  • .claude/skills/pulumi/import/reference.md
  • .claude/skills/pulumi/import/examples/aws-s3-bucket.md
  • .claude/skills/pulumi/import/examples/aws-iam-role.md
  • .claude/skills/pulumi/import/examples/github-repository.md
  • .claude/skills/pulumi/import/scripts/discover-aws-resources.py
  • Updated .claude/skills/pulumi/README.md

Testing

The skill follows the same patterns as the existing Pulumi workflow skills (deploy, stack-management, new-project, documentation).

🤖 Generated with Claude Code

Co-Authored-By: Claude [email protected]

…rastructure

Add complete import workflow skill for bringing manually-created infrastructure
under Pulumi management:

- Core import workflows (single resource, bulk import)
- Advanced patterns with automated AWS resource discovery
- Real-world examples (S3 buckets, IAM roles, GitHub repos)
- discover-aws-resources.py helper script for automation
- Safety-first verification and preview steps
- 1Password + direnv credential integration
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.

2 participants