Skip to content

Commit f12a190

Browse files
committed
terraform: Hoist the AWS cloud-init script into terraform/
I'm about to add the use of a cloud-init script to the other cloud providers. Place the cloud-init script used currently by AWS in a more generic location. Generated-by: Claude AI Signed-off-by: Chuck Lever <[email protected]>
1 parent 0f601be commit f12a190

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

terraform/aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ resource "aws_key_pair" "kdevops_keypair" {
7676

7777
data "template_file" "script_user_data" {
7878
count = local.kdevops_num_boxes
79-
template = file("templates/script.sh")
79+
template = file("../scripts/cloud-init.sh")
8080

8181
vars = {
8282
user_data_log_dir = var.user_data_log_dir
File renamed without changes.

0 commit comments

Comments
 (0)