Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Conversation

@sellooh
Copy link
Contributor

@sellooh sellooh commented Oct 2, 2024

Container variables are being ignored and top level environment can't be set when using containers

Since this condition doesn't allow to specify top level environment variables, there is no workaround atm:

`You cannot provide both "containers" and "image", "logging", or "environment".`,

This PR adds container env variables to the task definition

closes sst/sst#4012

@sellooh sellooh changed the title fix: container environment names fix: container environment variables Oct 2, 2024
@jayair
Copy link
Contributor

jayair commented Oct 4, 2024

Thanks

@psteinroe
Copy link

What's holding this pr back? Would love to get that fix.

@sellooh sellooh force-pushed the fix/container-environment-variables branch from 5beaa68 to 1b08f1e Compare October 15, 2024 13:45
@sellooh
Copy link
Contributor Author

sellooh commented Oct 15, 2024

Had conflicts with my PR and just fixed them - would also like to get this fixed, I'm using a patched version of the component for now but would love to just use SST's

@sellooh sellooh force-pushed the fix/container-environment-variables branch 2 times, most recently from ac8c50d to 3d67f7f Compare October 15, 2024 14:31
@fwang fwang merged commit e442978 into sst:dev Oct 16, 2024
@fwang
Copy link
Contributor

fwang commented Oct 16, 2024

Releasing v3.2.30 with this fix - sorry about the delay

@sellooh sellooh deleted the fix/container-environment-variables branch October 16, 2024 16:01
@sellooh
Copy link
Contributor Author

sellooh commented Oct 16, 2024

thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cluster.addService when using containers don't set environment variables

4 participants