File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2727
2828sudo yum makecache --enablerepo=$repo
2929sudo yum install --enablerepo=$repo -y ansible python-netaddr
30-
30+ sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
31+ sudo yum install -y terraform
3132# sudo yum makecache
3233# sudo yum install -y ansible python-netaddr
3334
Original file line number Diff line number Diff line change @@ -298,7 +298,6 @@ resource "null_resource" "cluster" {
298298 inline = [
299299 " chmod 755 /home/opc/autoscaling/*.sh" ,
300300 " chmod 755 /home/opc/autoscaling/crontab/*.sh" ,
301- " sudo yum install -y terraform" ,
302301 " chmod 755 /home/opc/autoscaling/credentials/key.sh" ,
303302 " /home/opc/autoscaling/credentials/key.sh /home/opc/autoscaling/credentials/key.initial /home/opc/autoscaling/credentials/key.pem > /home/opc/autoscaling/credentials/key.log" ,
304303 " chmod 600 /home/opc/autoscaling/credentials/key.pem" ,
You can’t perform that action at this time.
0 commit comments