Skip to content

Commit

Permalink
User-data is now configured via ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jul 29, 2024
1 parent 7fc2f40 commit d141d50
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tf/modules/cloudhsm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,6 @@ resource "aws_launch_template" "codesign_box_template" {
associate_public_ip_address = true
}

user_data = base64encode(<<-EOF
#!/bin/bash
sudo apt update
curl -o cloudhsm-cli.deb https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-cli_latest_u22.04_amd64.deb
sudo apt install ./cloudhsm-cli.deb
curl -o cloudhsm-pkcs11.deb https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-pkcs11_latest_u22.04_amd64.deb
sudo apt install ./cloudhsm-pkcs11.deb
sudo apt install libengine-pkcs11-openssl
EOF
)

update_default_version = true

tag_specifications {
Expand Down

0 comments on commit d141d50

Please sign in to comment.