Skip to content

feat: use hashicorp/cloud-init provider in AWS devcontainer template #15050

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 4 commits into from
Oct 27, 2024

Conversation

phorcys420
Copy link
Member

@phorcys420 phorcys420 commented Oct 12, 2024

This PR makes templates uses the hashicorp/cloud-init provider instead of hardcoding a cloud-init config.
This makes for more readable/maintainable templates.

I tested this template on dev.coder.com and it works as expected.
see https://dev.coder.com/templates/coder/aws-devcontainer-cloudinit-test


Left to do:

  • Edit other templates that make use of cloud-init

cc: @johnstcn

@phorcys420 phorcys420 changed the title feaat: use hashicorp/cloud-init providein AWS templates feat: use hashicorp/cloud-init provider in AWS templates Oct 12, 2024
@phorcys420 phorcys420 changed the title feat: use hashicorp/cloud-init provider in AWS templates feat: use hashicorp/cloud-initprovider in AWS templates Oct 12, 2024
@phorcys420 phorcys420 changed the title feat: use hashicorp/cloud-initprovider in AWS templates feat: use hashicorp/cloud-init provider in AWS templates Oct 12, 2024
@phorcys420 phorcys420 requested a review from johnstcn October 12, 2024 15:09
@phorcys420 phorcys420 changed the title feat: use hashicorp/cloud-init provider in AWS templates feat: use hashicorp/cloud-init provider in AWS devcontainer template Oct 14, 2024
@phorcys420 phorcys420 marked this pull request as ready for review October 14, 2024 12:36
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Tested it out and appears to work fine!

@github-actions github-actions bot added the stale This issue is like stale bread. label Oct 22, 2024
@github-actions github-actions bot closed this Oct 25, 2024
@phorcys420 phorcys420 reopened this Oct 25, 2024
@github-actions github-actions bot removed the stale This issue is like stale bread. label Oct 26, 2024
@matifali
Copy link
Member

@phorcys420, if it is ready, you can merge. Or are you planning to include other examples in the same PR?

@phorcys420
Copy link
Member Author

hey @matifali -- I just need to remove a comment and rebase then it's good!

@phorcys420 phorcys420 force-pushed the aws-devcontainer-cloudinit branch from 3e92337 to e080131 Compare October 27, 2024 07:35
@phorcys420 phorcys420 enabled auto-merge (squash) October 27, 2024 13:14
@phorcys420 phorcys420 merged commit 91c337a into main Oct 27, 2024
23 checks passed
@phorcys420 phorcys420 deleted the aws-devcontainer-cloudinit branch October 27, 2024 13:17
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2024
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.

3 participants