Skip to content

Commit

Permalink
Merge pull request #27 from uc-cdis/feat/launch-templates
Browse files Browse the repository at this point in the history
feat(launch-template): Updated launch configs to launch tempaltes for…
  • Loading branch information
emalinowski authored Sep 25, 2024
2 parents 930065c + 9ce6095 commit 094a633
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tf_files/aws/modules/aurora/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ resource "aws_rds_cluster" "postgresql" {
max_capacity = var.serverlessv2_scaling_max_capacity
min_capacity = var.serverlessv2_scaling_min_capacity
}

lifecycle {
ignore_changes = [engine_version]
}
}

# Aurora Cluster Instance
Expand All @@ -45,6 +49,10 @@ resource "aws_rds_cluster_instance" "postgresql" {
instance_class = var.cluster_instance_class
engine = aws_rds_cluster.postgresql.engine
engine_version = aws_rds_cluster.postgresql.engine_version

lifecycle {
ignore_changes = [engine_version]
}
}


Expand Down
2 changes: 1 addition & 1 deletion tf_files/aws/modules/squid_nlb_central_csoc/cloud.tf
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ resource "aws_launch_template" "squid_nlb" {
user_data = sensitive(base64encode( <<EOF
#!/bin/bash
cd /home/ubuntu
sudo git clone https://github.com/uc-cdis/cloud-automation.gits
sudo git clone https://github.com/uc-cdis/cloud-automation.git
sudo chown -R ubuntu. /home/ubuntu/cloud-automation
cd /home/ubuntu/cloud-automation
git pull
Expand Down

0 comments on commit 094a633

Please sign in to comment.