File tree Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,6 @@ export LB_LOGS_BUCKET="$(/bin/bash $GITHUB_ACTION_PATH/operations/_scripts/gener
32
32
# Generate Ansible playbook
33
33
/bin/bash $GITHUB_ACTION_PATH /operations/_scripts/generate/generate_ansible_playbook.sh
34
34
35
- # List terraform folder
36
- echo " ls -al $GITHUB_ACTION_PATH /operations/deployment/terraform/"
37
- ls -al $GITHUB_ACTION_PATH /operations/deployment/terraform/
38
- # Prints out bitops.config.yaml
39
- echo " cat $GITHUB_ACTION_PATH /operations/deployment/terraform/bitops.config.yaml"
40
- cat $GITHUB_ACTION_PATH /operations/deployment/terraform/bitops.config.yaml
41
-
42
-
43
- echo " cat GITHUB_ACTION_PATH/operations/deployment/terraform/provider.tf"
44
- cat $GITHUB_ACTION_PATH /operations/deployment/terraform/provider.tf
45
- echo " ls GITHUB_ACTION_PATH/operations/deployment/ansible/app/${GITHUB_REPO_NAME} "
46
- ls " $GITHUB_ACTION_PATH /operations/deployment/ansible/app/${GITHUB_REPO_NAME} "
47
-
48
35
TERRAFORM_COMMAND=" "
49
36
TERRAFORM_DESTROY=" "
50
37
if [ " $STACK_DESTROY " == " true" ]; then
Original file line number Diff line number Diff line change 4
4
5
5
echo " In generate_ansible_playbook.sh"
6
6
7
+ function alpha_only() {
8
+ echo " $1 " | tr -cd ' [:alpha:]' | tr ' [:upper:]' ' [:lower:]'
9
+ }
10
+
7
11
echo -en " - name: Ensure hosts is up and running
8
12
hosts: bitops_servers
9
13
gather_facts: no
Original file line number Diff line number Diff line change @@ -92,8 +92,6 @@ aws_postgres_subnets=
92
92
if [ -n " ${AWS_POSTGRES_SUBNETS} " ]; then
93
93
aws_postgres_subnets=" aws_postgres_subnets = \" $( comma_str_to_tf_array $AWS_POSTGRES_SUBNETS ) \" "
94
94
fi
95
- echo " AWS Postgres subnets: $aws_postgres_subnets "
96
-
97
95
98
96
# -- Application --#
99
97
app_port=$( generate_var app_port $APP_PORT )
Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ resource "aws_s3_bucket_policy" "allow_access_from_another_account" {
31
31
POLICY
32
32
}
33
33
34
- # resource "aws_s3_bucket_acl" "lb_access_logs_acl" {
35
- # bucket = aws_s3_bucket.lb_access_logs.id
36
- # acl = "private"
37
- # }
38
-
39
34
resource "aws_elb" "vm_ssl" {
40
35
count = local. cert_available ? 1 : 0
41
36
name = var. aws_resource_identifier_supershort
You can’t perform that action at this time.
0 commit comments