Skip to content

Conversation

@johnstcn
Copy link
Member

@johnstcn johnstcn commented Aug 15, 2024

This PR adds env_map to cached_image_resource. This consists of the computed env in map format, which can be useful for other providers that do not expect KEY=VALUE format.

@johnstcn johnstcn requested a review from mafredri August 15, 2024 21:07
@johnstcn johnstcn self-assigned this Aug 15, 2024
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

} else {
data.Env = appendKnownEnvToList(data.Env, "ENVBUILDER_REMOTE_REPO_BUILD_MODE", data.RemoteRepoBuildMode)
env["ENVBUILDER_REMOTE_REPO_BUILD_MODE"] = tfValueToString(data.RemoteRepoBuildMode)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side-note: I feel like we're missing some input parameters here 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I need to go through and add all the rest! Follow up though.

@johnstcn johnstcn merged commit 6cf3d93 into main Aug 16, 2024
@johnstcn johnstcn deleted the cj/envmap branch August 16, 2024 08:42
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.

2 participants