Skip to content

Commit

Permalink
testing base64 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
zachreborn committed Aug 7, 2024
1 parent cbb8656 commit 689c3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/aws/vendor/velocloud/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ resource "aws_instance" "ec2_instance" {
monitoring = var.monitoring
volume_tags = merge(var.tags, ({ "Name" = format("%s%d", var.instance_name_prefix, count.index + 1) }))
tags = merge(var.tags, ({ "Name" = format("%s%d", var.instance_name_prefix, count.index + 1) }))
user_data = templatefile("${path.module}/user_data.sh", {
user_data_base64 = base64encode(templatefile("${path.module}/user_data.sh", {
velocloud_activation_key = var.velocloud_activation_key
velocloud_ignore_cert_errors = var.velocloud_ignore_cert_errors
velocloud_orchestrator = var.velocloud_orchestrator
})
}))

metadata_options {
http_endpoint = var.http_endpoint
Expand Down

0 comments on commit 689c3ef

Please sign in to comment.