question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support .env / AWS config file format (aka ini) for local dev

See original GitHub issue

I’d like to propose we additively add support for .env / AWS config file format.

We currently ask people to work locally with a .arc-env file that is unusable by very common tools like dotenv (7mm d/l week).

Although it’s true to the Architect format (with pragmas, keys/values separated by spaces, etc.) It’s another (seemingly proprietary) thing to explain and document.

Having potentially two env formats side by side has been, for me, problematic; it’s bitten me numerous times in personal Arc projects, where my local .env (used for testing individual files, scripts, etc.) was out of sync with my .arc-env, etc.

The ability to tell people to just create a .env file the likes of which closely resembles AWS’s config env feels like it could be a much lower bar and improve interop.

Proposed format:

[testing]
foo=bar
bar=baz
baz=buz

[staging]
foo=bar
bar=baz
# baz=buz commented out

Reference:

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanblockcommented, Nov 23, 2020

Shipped in 8.3!

0reactions
ryanblockcommented, Nov 12, 2020

Lol at my “next week!” comment from 7mo ago. It’s in an RC tho, stand by.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shared AWS config and credentials files
The shared AWS config and credentials files contain a set of profiles. A profile is a set of configuration values that can be...
Read more >
Configuration and credential file settings - AWS Documentation
The AWS CLI stores sensitive credential information that you specify with aws configure in a local file named credentials , in a folder...
Read more >
AWS CLI Configuration Variables - AWS Documentation
Environment variables; The AWS Shared Credential File; The AWS CLI config file ... This file is an INI formatted file with section names...
Read more >
Environment variables to configure the AWS CLI
Specifies the location of the file that the AWS CLI uses to store configuration profiles. The default path is ~/.aws/config . You can't...
Read more >
Set up AWS Credentials and Region for Development
Set the AWS Region in the AWS config file on your local system, located at: ~/.aws/config on Linux, macOS, or Unix. C:\Users\USERNAME\.aws\config on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found