Skip to content

Commit 00a1b9b

Browse files
author
Henry Mollman
committed
PR comments
1 parent e97fbf8 commit 00a1b9b

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

lib/aws.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ aws::get_org_id() {
6363
backoff aws::fetch_org_id_from_tags
6464
else
6565
log::info "Taking aws creds from system"
66-
sleep 5
6766
backoff aws::get_org_id_onprem
6867
fi
6968

lib/consul.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ consul::configure_consul_template() {
6666
template+=":$DOCK_INIT_BASE/consul-resources/template-config.hcl"
6767

6868
consul-template -once -template="$template"
69+
else
70+
log::info "AWS access key and secret already created, skipping template creation"
6971
fi
7072
rollbar::clear_trap
7173
}

lib/container.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ container::_start_registry_container() {
4949
log::info "Creating S3 credentials"
5050
vault::create_s3_policy "${bucket}"
5151
vault::set_s3_keys
52+
else
53+
log::info "S3 Credentials already created, setting s3 bucket for registry"
5254
fi
5355

5456
local docker_logs

0 commit comments

Comments
 (0)