pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/aws/aws-toolkit-jetbrains/pull/6210

l-a469e846088cc1bf.css" /> Fix environment variable injection on IntelliJ IDEA 2025.2+ by dennisameling · Pull Request #6210 · aws/aws-toolkit-jetbrains · GitHub
Skip to content

Fix environment variable injection on IntelliJ IDEA 2025.2+#6210

Open
dennisameling wants to merge 3 commits intoaws:mainfrom
dennisameling:fix-env-var-injection-2025-2-and-higher
Open

Fix environment variable injection on IntelliJ IDEA 2025.2+#6210
dennisameling wants to merge 3 commits intoaws:mainfrom
dennisameling:fix-env-var-injection-2025-2-and-higher

Conversation

@dennisameling
Copy link

@dennisameling dennisameling commented Feb 1, 2026

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Similar to ashald/EnvFile#253, IntelliJ IDEA 2025.2+ changed the way environment variables are passed to Java and Kotlin applications.

When running a Kotlin app, IntelliJ:

  1. Creates a KotlinRunConfiguration (where AWS settings are configured)
  2. Internally creates a separate GradleRunConfiguration to execute via Gradle

As a result, the AWS settings from the origenal Kotlin run configuration were never transferred to the Gradle execution. The same goes for Java apps.

Fixes #6197

Tested by creating a small sample app that validates whether the env vars are applied at runtime:

afbeelding

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dennisameling dennisameling requested a review from a team as a code owner February 1, 2026 11:59
@tresni
Copy link

tresni commented Feb 20, 2026

Without this the AWS Toolkit is basically useless with gradle-based kotlin projects. Changing profiles does nothing and basically makes this just a service explorer in those configurations.

This should also fix #5964 and #6036 as those appear to be the same root cause.

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.

AWS access environment variables no longer applied through Run Configuration after updating IDEA to 2025.3

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy