Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert unintended change
  • Loading branch information
mafredri committed Jan 27, 2023
commit 3bceccca5a1fe2c6d9cb8ed29cd54be73302f034
4 changes: 2 additions & 2 deletions examples/templates/aws-linux/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ locals {
# User data is used to stop/start AWS instances. See:
# https://github.com/hashicorp/terraform-provider-aws/issues/22

user_data_start = <<-EOT
user_data_start = <<EOT
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0

Expand Down Expand Up @@ -139,7 +139,7 @@ sudo -u ${local.linux_user} sh -c '${coder_agent.main.init_script}'
--//--
EOT

user_data_end = <<-EOT
user_data_end = <<EOT
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0

Expand Down
4 changes: 2 additions & 2 deletions examples/templates/aws-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ locals {
# User data is used to stop/start AWS instances. See:
# https://github.com/hashicorp/terraform-provider-aws/issues/22

user_data_start = <<-EOT
user_data_start = <<EOT
<powershell>
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
${coder_agent.main.init_script}
</powershell>
<persist>true</persist>
EOT

user_data_end = <<-EOT
user_data_end = <<EOT
<powershell>
shutdown /s
</powershell>
Expand Down