Improve localstack experience. The aws sdk crate
would fail unless you had aws credentials. This allows for
tunnelbroker to be ran with just localstack and "nix develop"
Details
nix develop comm-dev services start cd services/terraform ./run.sh awslocal dynamodb list-tables
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
scripts/source_development_defaults.sh | ||
---|---|---|
56–57 ↗ | (On Diff #26317) | One repercussion of this is that this will supersede what you have specified in ~/.aws/credentials. One option would be to move this into comm-dev, however, nix develop already denotes a development environment; so having it use local configuration doesn't seem too far off the mark. |
Makes sense to me, but would like @varun to take a look RE how this might affect an externally runnning staging environment
scripts/source_development_defaults.sh | ||
---|---|---|
56–57 ↗ | (On Diff #26317) | Curious on how this might affect a workflow that relies on an externally running staging environment. If somebody wanted to access a staging environment on AWS, would they need to set these envvars in eg. their ~/.profile? |
scripts/source_development_defaults.sh | ||
---|---|---|
56–57 ↗ | (On Diff #26317) |
This should only have an effect if you're running a service (e.g. identity) locally. Otherwise it shouldn't affect things such as keyserver connecting to a particular service.
No. That's a separate issue. This mostly affects code which "loads aws credentials from environment". Such as https://github.com/CommE2E/comm/blob/ee8762ce834ca154fa61f4f0bdd88b927256f3b7/services/blob/src/config.rs#L54 There's 3 possibilities here:
|