KozhanovDmytro / localstack-intellij-idea-plugin-public

0 stars 0 forks source link

LocalStack Plugin for IntelliJ IDEA 🚀

Table of Contents

  1. Description
  2. Configuration
  3. Services
  4. Template Management
  5. Troubleshooting
  6. Donations

Description

The LocalStack plugin for IntelliJ IDEA is designed exclusively for IntelliJ IDEA users, enabling them to create and manage resources in LocalStack directly from their IDE. This plugin supports several AWS services like SQS, S3, SNS, and Lambda, with ongoing development to introduce more services in the future.

A newly introduced Template Management feature allows users to save configurations of SQS queues, enabling quick creation of resources based on predefined templates. This makes it easier for developers to replicate SQS configurations in future projects.

Given our small development team, we are unable to add a large number of services quickly. If you find this project helpful, please consider supporting us by purchasing a subscription or making a donation. The plugin operates on a freemium model, offering both free and paid features.

test

Configuration

To integrate LocalStack into your IntelliJ IDEA environment seamlessly, the plugin allows for easy configuration of various LocalStack settings, including:

These configurations ensure that your LocalStack environment aligns with your project's needs.

In order to configure these settings please follow the steps:

  1. Go to File -> Settings
  2. On the left side, select Tools and then choose LocalStack Plugin Settings.
  3. Apply your changes, and
  4. Restart you IDE and enjoy :)

test

Services

The plugin provides support for a range of services, each with its own set of features:

SQS

S3

SNS

Lambda

Template Management

The Template Management feature allows users to create and manage templates for SQS queues. This feature provides a streamlined way for developers to quickly replicate configurations across projects without manually inputting settings every time.

Creating a Template

Once you create an SQS queue using any of the available options (Standard, FIFO, Advanced), you will now have the option to save that queue configuration as a template. This will store the SQS configuration (attributes like queue name, type, visibility timeout, etc.) so that you can easily reuse it later.

img.png

Managing Templates

You can view, apply, or delete previously created templates from the Template Management screen. This allows you to keep your templates organized and modify them as your project needs change.

img.png

Creating SQS Queues from Templates

To create an SQS queue from a saved template:

  1. Go to the Template Management window.
  2. Select the desired template from the list.
  3. Click the "Apply" button.
  4. The plugin will automatically create a new SQS queue based on the selected template, with all the pre-configured settings.

This feature allows you to quickly set up SQS queues with consistent configurations, speeding up development workflows and reducing the potential for configuration errors.

Troubleshooting

Case 1: DNS resolving issues on MacOS

If you configured the settings correctly but for some reason the following error appears

img.png

That's an issue on the LocalStack, to solve this please add the following DNS rules to hostname mapping file:

127.0.0.1 sqs.eu-central-1.localhost.localstack.cloud

Typically this file located here

Donations

Love the LocalStack plugin for IntelliJ IDEA? Consider supporting our project through donations or by purchasing a subscription. Your support helps us maintain and expand the plugin's capabilities, ensuring it meets the community's needs.

  1. PayPal
  2. BuyMeACoffee
  3. or just purchase a subscription.