You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, this template authenticates to AWS with using the provider's default [authentication methods](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration).
21
+
22
+
The simplest way (without making changes to the template) is via environment variables (e.g. `AWS_ACCESS_KEY_ID`) or a [credentials file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-format). If you are running Coder on a VM, this file must be in `/home/coder/aws/credentials`.
23
+
24
+
To use another [authentication method](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication), edit the template.
21
25
22
26
## Required permissions / policy
23
27
@@ -73,6 +77,20 @@ instances provisioned by Coder:
73
77
}
74
78
```
75
79
80
+
## Architecture
81
+
82
+
> **Note**
83
+
> This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
84
+
85
+
This template provisions the following resources:
86
+
87
+
- AWS Instance
88
+
89
+
Coder uses `aws_ec2_instance_state` to start and stop the VM. This example template is fully persistent, meaning the full filesystem is preserved when the workspace restarts. See this [community example](https://github.com/bpmct/coder-templates/tree/main/aws-linux-ephemeral) of an ephemeral AWS instance.
90
+
91
+
To get started, run `coder templates init`. When prompted, select this template.
92
+
Follow the on-screen instructions to proceed.
93
+
76
94
## code-server
77
95
78
96
`code-server` is installed via the `startup_script` argument in the `coder_agent`
0 commit comments