diff --git a/examples/templates/aws-ecs-container/README.md b/examples/templates/aws-ecs-container/README.md index 8ca7a2fc79d14..d93be6508313e 100644 --- a/examples/templates/aws-ecs-container/README.md +++ b/examples/templates/aws-ecs-container/README.md @@ -2,6 +2,7 @@ name: Develop in an ECS-hosted container description: Get started with Linux development on AWS ECS. tags: [cloud, aws] +icon: /icon/aws.png --- # aws-ecs diff --git a/examples/templates/aws-linux/README.md b/examples/templates/aws-linux/README.md index 681224cc3269b..90992fcb18fe7 100644 --- a/examples/templates/aws-linux/README.md +++ b/examples/templates/aws-linux/README.md @@ -2,6 +2,7 @@ name: Develop in Linux on AWS EC2 description: Get started with Linux development on AWS EC2. tags: [cloud, aws] +icon: /icon/aws.png --- # aws-linux @@ -13,7 +14,7 @@ Follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with AWS. For example, run `aws configure import` to import credentials on the -system and user running coderd. For other ways to authenticate [consult the +system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration). ## Required permissions / policy @@ -23,49 +24,49 @@ instances provisioned by Coder: ```json { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "VisualEditor0", - "Effect": "Allow", - "Action": [ - "ec2:GetDefaultCreditSpecification", - "ec2:DescribeIamInstanceProfileAssociations", - "ec2:DescribeTags", - "ec2:CreateTags", - "ec2:RunInstances", - "ec2:DescribeInstanceCreditSpecifications", - "ec2:DescribeImages", - "ec2:ModifyDefaultCreditSpecification", - "ec2:DescribeVolumes" - ], - "Resource": "*" - }, - { - "Sid": "CoderResources", - "Effect": "Allow", - "Action": [ - "ec2:DescribeInstances", - "ec2:DescribeInstanceAttribute", - "ec2:UnmonitorInstances", - "ec2:TerminateInstances", - "ec2:StartInstances", - "ec2:StopInstances", - "ec2:DeleteTags", - "ec2:MonitorInstances", - "ec2:CreateTags", - "ec2:RunInstances", - "ec2:ModifyInstanceAttribute", - "ec2:ModifyInstanceCreditSpecification" - ], - "Resource": "arn:aws:ec2:*:*:instance/*", - "Condition": { - "StringEquals": { - "aws:ResourceTag/Coder_Provisioned": "true" - } - } + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "VisualEditor0", + "Effect": "Allow", + "Action": [ + "ec2:GetDefaultCreditSpecification", + "ec2:DescribeIamInstanceProfileAssociations", + "ec2:DescribeTags", + "ec2:CreateTags", + "ec2:RunInstances", + "ec2:DescribeInstanceCreditSpecifications", + "ec2:DescribeImages", + "ec2:ModifyDefaultCreditSpecification", + "ec2:DescribeVolumes" + ], + "Resource": "*" + }, + { + "Sid": "CoderResources", + "Effect": "Allow", + "Action": [ + "ec2:DescribeInstances", + "ec2:DescribeInstanceAttribute", + "ec2:UnmonitorInstances", + "ec2:TerminateInstances", + "ec2:StartInstances", + "ec2:StopInstances", + "ec2:DeleteTags", + "ec2:MonitorInstances", + "ec2:CreateTags", + "ec2:RunInstances", + "ec2:ModifyInstanceAttribute", + "ec2:ModifyInstanceCreditSpecification" + ], + "Resource": "arn:aws:ec2:*:*:instance/*", + "Condition": { + "StringEquals": { + "aws:ResourceTag/Coder_Provisioned": "true" } - ] + } + } + ] } ``` diff --git a/examples/templates/aws-windows/README.md b/examples/templates/aws-windows/README.md index 8582a3ea83ede..ebd59839fcc0a 100644 --- a/examples/templates/aws-windows/README.md +++ b/examples/templates/aws-windows/README.md @@ -2,6 +2,7 @@ name: Develop in Windows on AWS description: Get started with Windows development on AWS. tags: [cloud, aws] +icon: /icon/aws.png --- # aws-windows @@ -15,7 +16,7 @@ Follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with AWS. For example, run `aws configure import` to import credentials on the -system and user running coderd. For other ways to authenticate [consult the +system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration). ## Required permissions / policy @@ -25,48 +26,48 @@ instances provisioned by Coder: ```json { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "VisualEditor0", - "Effect": "Allow", - "Action": [ - "ec2:GetDefaultCreditSpecification", - "ec2:DescribeIamInstanceProfileAssociations", - "ec2:DescribeTags", - "ec2:CreateTags", - "ec2:RunInstances", - "ec2:DescribeInstanceCreditSpecifications", - "ec2:DescribeImages", - "ec2:ModifyDefaultCreditSpecification", - "ec2:DescribeVolumes" - ], - "Resource": "*" - }, - { - "Sid": "CoderResources", - "Effect": "Allow", - "Action": [ - "ec2:DescribeInstances", - "ec2:DescribeInstanceAttribute", - "ec2:UnmonitorInstances", - "ec2:TerminateInstances", - "ec2:StartInstances", - "ec2:StopInstances", - "ec2:DeleteTags", - "ec2:MonitorInstances", - "ec2:CreateTags", - "ec2:RunInstances", - "ec2:ModifyInstanceAttribute", - "ec2:ModifyInstanceCreditSpecification" - ], - "Resource": "arn:aws:ec2:*:*:instance/*", - "Condition": { - "StringEquals": { - "aws:ResourceTag/Coder_Provisioned": "true" - } - } + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "VisualEditor0", + "Effect": "Allow", + "Action": [ + "ec2:GetDefaultCreditSpecification", + "ec2:DescribeIamInstanceProfileAssociations", + "ec2:DescribeTags", + "ec2:CreateTags", + "ec2:RunInstances", + "ec2:DescribeInstanceCreditSpecifications", + "ec2:DescribeImages", + "ec2:ModifyDefaultCreditSpecification", + "ec2:DescribeVolumes" + ], + "Resource": "*" + }, + { + "Sid": "CoderResources", + "Effect": "Allow", + "Action": [ + "ec2:DescribeInstances", + "ec2:DescribeInstanceAttribute", + "ec2:UnmonitorInstances", + "ec2:TerminateInstances", + "ec2:StartInstances", + "ec2:StopInstances", + "ec2:DeleteTags", + "ec2:MonitorInstances", + "ec2:CreateTags", + "ec2:RunInstances", + "ec2:ModifyInstanceAttribute", + "ec2:ModifyInstanceCreditSpecification" + ], + "Resource": "arn:aws:ec2:*:*:instance/*", + "Condition": { + "StringEquals": { + "aws:ResourceTag/Coder_Provisioned": "true" } - ] + } + } + ] } ``` diff --git a/examples/templates/azure-linux/README.md b/examples/templates/azure-linux/README.md index ce84b5e9a2e59..067631329e566 100644 --- a/examples/templates/azure-linux/README.md +++ b/examples/templates/azure-linux/README.md @@ -2,6 +2,7 @@ name: Develop in Linux on Azure description: Get started with Linux development on Microsoft Azure. tags: [cloud, azure, linux] +icon: /icon/azure.png --- # azure-linux @@ -13,5 +14,5 @@ Follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with Azure. For example, run `az login` then `az account set --subscription=` -to import credentials on the system and user running coderd. For other ways to +to import credentials on the system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#authenticating-to-azure). diff --git a/examples/templates/do-linux/README.md b/examples/templates/do-linux/README.md index efbfb5b0a64f1..8d0314fe3d1bd 100644 --- a/examples/templates/do-linux/README.md +++ b/examples/templates/do-linux/README.md @@ -2,6 +2,7 @@ name: Develop in Linux on a Digital Ocean Droplet description: Get started with Linux development on a Digital Ocean Droplet. tags: [cloud, digitalocean] +icon: /icon/do.png --- # do-linux diff --git a/examples/templates/docker-code-server/README.md b/examples/templates/docker-code-server/README.md index 6d9045ad2d84e..75fb980fde22e 100644 --- a/examples/templates/docker-code-server/README.md +++ b/examples/templates/docker-code-server/README.md @@ -2,6 +2,7 @@ name: Develop code-server in Docker description: Run code-server in a Docker development environment tags: [local, docker] +icon: /icon/docker.png --- # code-server in Docker diff --git a/examples/templates/docker-image-builds/README.md b/examples/templates/docker-image-builds/README.md index 46c7d1e90c63f..6c6b3f665ee3c 100644 --- a/examples/templates/docker-image-builds/README.md +++ b/examples/templates/docker-image-builds/README.md @@ -2,6 +2,7 @@ name: Develop in Docker with custom image builds description: Build images and run workspaces on the Docker host with no image registry required tags: [local, docker] +icon: /icon/docker.png --- # docker-image-builds diff --git a/examples/templates/docker-with-dotfiles/README.md b/examples/templates/docker-with-dotfiles/README.md index 2192bf5e438ca..ba1e2d9e317a4 100644 --- a/examples/templates/docker-with-dotfiles/README.md +++ b/examples/templates/docker-with-dotfiles/README.md @@ -2,6 +2,7 @@ name: Develop in Docker with a dotfiles URL description: Run workspaces on a Docker host using registry images tags: [local, docker] +icon: /icon/docker.png --- # docker-with-dotfiles diff --git a/examples/templates/docker/README.md b/examples/templates/docker/README.md index 850007f424dda..eabdb9272cf8a 100644 --- a/examples/templates/docker/README.md +++ b/examples/templates/docker/README.md @@ -2,6 +2,7 @@ name: Develop in Docker description: Run workspaces on a Docker host using registry images tags: [local, docker] +icon: /icon/docker.png --- # docker diff --git a/examples/templates/gcp-linux/README.md b/examples/templates/gcp-linux/README.md index 3df0571605eb4..7d84970cc50a7 100644 --- a/examples/templates/gcp-linux/README.md +++ b/examples/templates/gcp-linux/README.md @@ -2,6 +2,7 @@ name: Develop in Linux on Google Cloud description: Get started with Linux development on Google Cloud. tags: [cloud, google] +icon: /icon/gcp.png --- # gcp-linux @@ -13,7 +14,7 @@ and follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with Google Cloud. For example, run `gcloud auth application-default login` to -import credentials on the system and user running coderd. For other ways to +import credentials on the system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials). @@ -32,6 +33,7 @@ a service account: 1. Click **Create and continue**, and choose the following IAM roles to grant to the service account: + - Compute Admin - Service Account User diff --git a/examples/templates/gcp-vm-container/README.md b/examples/templates/gcp-vm-container/README.md index 72c5d20fc9b7f..5568642a35f88 100644 --- a/examples/templates/gcp-vm-container/README.md +++ b/examples/templates/gcp-vm-container/README.md @@ -2,6 +2,7 @@ name: Develop in a container on a Google Cloud VM description: Get started with Linux development on Google Cloud. tags: [cloud, google, container] +icon: /icon/gcp.png --- # gcp-vm-container @@ -13,7 +14,7 @@ and follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with Google Cloud. For example, run `gcloud auth application-default login` to -import credentials on the system and user running coderd. For other ways to +import credentials on the system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials). @@ -32,6 +33,7 @@ a service account: 1. Click **Create and continue**, and choose the following IAM roles to grant to the service account: + - Compute Admin - Service Account User diff --git a/examples/templates/gcp-windows/README.md b/examples/templates/gcp-windows/README.md index 9c386e1390a48..a0d55a0e1ec44 100644 --- a/examples/templates/gcp-windows/README.md +++ b/examples/templates/gcp-windows/README.md @@ -2,6 +2,7 @@ name: Develop in Windows on Google Cloud description: Get started with Windows development on Google Cloud. tags: [cloud, google] +icon: /icon/gcp.png --- # gcp-windows @@ -13,7 +14,7 @@ and follow the on-screen instructions to proceed. This template assumes that coderd is run in an environment that is authenticated with Google Cloud. For example, run `gcloud auth application-default login` to -import credentials on the system and user running coderd. For other ways to +import credentials on the system and user running coderd. For other ways to authenticate [consult the Terraform docs](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/getting_started#adding-credentials). @@ -32,6 +33,7 @@ a service account: 1. Click **Create and continue**, and choose the following IAM roles to grant to the service account: + - Compute Admin - Service Account User diff --git a/examples/templates/kubernetes/README.md b/examples/templates/kubernetes/README.md index 6e8bbf6e410f8..f0725a58ff377 100644 --- a/examples/templates/kubernetes/README.md +++ b/examples/templates/kubernetes/README.md @@ -2,6 +2,7 @@ name: Develop in Kubernetes description: Get started with Kubernetes development. tags: [cloud, kubernetes] +icon: /icon/k8s.png --- # Getting started diff --git a/site/static/icon/aws.png b/site/static/icon/aws.png new file mode 100644 index 0000000000000..af2effa289d01 Binary files /dev/null and b/site/static/icon/aws.png differ diff --git a/site/static/icon/azure.png b/site/static/icon/azure.png new file mode 100644 index 0000000000000..aba18fe3f5af5 Binary files /dev/null and b/site/static/icon/azure.png differ diff --git a/site/static/icon/do.png b/site/static/icon/do.png new file mode 100644 index 0000000000000..ab6e78246c531 Binary files /dev/null and b/site/static/icon/do.png differ diff --git a/site/static/icon/docker.png b/site/static/icon/docker.png new file mode 100644 index 0000000000000..f88b81ca415fc Binary files /dev/null and b/site/static/icon/docker.png differ diff --git a/site/static/icon/gcp.png b/site/static/icon/gcp.png new file mode 100644 index 0000000000000..9585ea1244aef Binary files /dev/null and b/site/static/icon/gcp.png differ diff --git a/site/static/icon/k8s.png b/site/static/icon/k8s.png new file mode 100644 index 0000000000000..45e8614e2a506 Binary files /dev/null and b/site/static/icon/k8s.png differ