Skip to content

Commit 6141217

Browse files
Add terraform repo for OL7.9
1 parent e17c6a1 commit 6141217

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bastion.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ fi
2727

2828
sudo yum makecache --enablerepo=$repo
2929
sudo 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

bastion.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)