Skip to content

feat: Add coder_provisioner resource for attributes from the host #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 9, 2022

Conversation

kylecarbs
Copy link
Member

Our Docker template exposes variables
which are easily obtainable from the host. By adding this resource, we allow simple setups that depend on host
architecture to work without input from the user.

Our [Docker template](https://github.com/coder/coder/blob/main/examples/templates/docker/main.tf#L16-L60) exposes variables
which are easily obtainable from the host. By adding this resource, we allow simple setups that depend on host
architecture to work without input from the user.
@kylecarbs kylecarbs requested a review from bpmct August 9, 2022 16:26
@kylecarbs kylecarbs self-assigned this Aug 9, 2022
@bpmct
Copy link
Member

bpmct commented Aug 9, 2022

Fixes coder/coder#1879

Copy link
Member

@bpmct bpmct left a comment

Choose a reason for hiding this comment

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

LGTM.

Co-authored-by: Ben Potter <me@bpmct.net>
@kylecarbs kylecarbs changed the title feat: Add coder_host resource for attributes from the host feat: Add coder_provisioner resource for attributes from the host Aug 9, 2022
@kylecarbs kylecarbs merged commit 5e9c0be into main Aug 9, 2022
@kylecarbs kylecarbs deleted the coderhost branch August 9, 2022 17:36
DanielleMaywood pushed a commit that referenced this pull request Sep 5, 2024
)

* feat: Add `coder_host` resource for attributes from the host

Our [Docker template](https://github.com/coder/coder/blob/main/examples/templates/docker/main.tf#L16-L60) exposes variables
which are easily obtainable from the host. By adding this resource, we allow simple setups that depend on host
architecture to work without input from the user.

* Update internal/provider/provider.go

Co-authored-by: Ben Potter <me@bpmct.net>

Co-authored-by: Ben Potter <me@bpmct.net>
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