This VS Code extension provides autocompletion of all AWS services that can be used as Service Principals in your IAM policies.
Tip
Struggling with AWS complexity or stuck on-premise? Let's transform your cloud journey.
Schedule a call with me to find out how I can enhance your existing AWS setup or guide your journey from on-premise to the Cloud.
☁️ Discover more about my one-person business: Towards the Cloud
Hi, I'm Danny – AWS expert and founder of Towards the Cloud. With over a decade of hands-on experience, I specialized myself in deploying well-architected, highly scalable and cost-effective AWS Solutions using Infrastructure as Code (IaC).
- AWS CDK Proficiency: I bring deep AWS CDK knowledge to the table, ensuring your infrastructure is not just maintainable and scalable, but also fully automated.
- AWS Certified: Equipped with 7 AWS Certifications, including DevOps Engineer & Solutions Architect Professional, to ensure best practices across diverse cloud scenarios.
- Direct Access: You work with me, not a team of managers. Expect quick decisions and high-quality work.
- Tailored Solutions: Understanding that no two businesses are alike, I Custom-fit cloud infrastructure for your unique needs.
- Cost-Effective: I'll optimize your AWS spending without cutting corners on performance or security.
- Seamless CI/CD: I'll set up smooth CI/CD processes using GitHub Actions, making changes a breeze through Pull Requests.
My mission is simple: I'll free you from infrastructure headaches so you can focus on what truly matters – your core business.
Ready to unlock the full potential of AWS Cloud?
- Auto-completion for AWS Service Principals: Provides intelligent auto-completion suggestions for AWS Service Principals when defining IAM policies or roles.
- Context-aware Suggestions: The extension intelligently detects when you're working with IAM policies or roles and only suggests Service Principal completions in relevant contexts.
- Supports Multiple Languages: Supports auto-completion for Service Principals in JSON, YAML, Terraform, and AWS CDK (TypeScript, and Python).
- Install the "AWS IAM Service Principal Snippets" extension in VS Code.
- Open or create a new file (
.json
,.yml
,.tf
,.ts
, or.py
) where you're defining IAM policies or roles. - When you reach a point where you need to specify a Service Principal (e.g.,
Principal
key in JSON/YAML policies,assumed_by
parameter in Python roles, etc.), start typing the name of the AWS service. - The extension will provide auto-completion suggestions for matching AWS Service Principals.
- Select the desired Service Principal to insert it into your code.
Example of auto-completion in action:
Note: If auto-completion doesn't trigger automatically, press
Ctrl+Space
(orCmd+Space
on macOS) to manually invoke IntelliSense.
If you have a feature request or an issue, please let me know on Github