Take 2 with appcreds
This commit is contained in:
@@ -182,7 +182,7 @@ def main(): # noqa: C901 pylint: disable=too-many-branches,too-many-statements,
|
|||||||
appid = "d69be046470a4d7a947bf8cc3f7fb260"
|
appid = "d69be046470a4d7a947bf8cc3f7fb260"
|
||||||
appsecret = "tX_SSPqbYgQ8bkRRXgeBGxalAPXXiOpLrTAtTk3c79ijFDoFIIrPzTZIEs7NMpBwBT-z9FtJCy3hyjW1-AJmbQ"
|
appsecret = "tX_SSPqbYgQ8bkRRXgeBGxalAPXXiOpLrTAtTk3c79ijFDoFIIrPzTZIEs7NMpBwBT-z9FtJCy3hyjW1-AJmbQ"
|
||||||
userdata = '#!/usr/bin/env bash\n' \
|
userdata = '#!/usr/bin/env bash\n' \
|
||||||
f'export APPCRED_ID="{appid}"\n' \
|
f'export APPCRED_ID="{appid}"\n' \
|
||||||
f'export APPCRED_SECRET="{appsecret}"\n' \
|
f'export APPCRED_SECRET="{appsecret}"\n' \
|
||||||
f'curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- ' \
|
f'curl -L -s {hsfd_faafo_cloud_init_script} | bash -s -- ' \
|
||||||
'-i faafo -i messaging -r api -r worker -r demo\n'
|
'-i faafo -i messaging -r api -r worker -r demo\n'
|
||||||
|
@@ -14,6 +14,7 @@ import base64
|
|||||||
import copy
|
import copy
|
||||||
import hashlib
|
import hashlib
|
||||||
import io
|
import io
|
||||||
|
import os
|
||||||
import socket
|
import socket
|
||||||
import uuid
|
import uuid
|
||||||
from pkg_resources import resource_filename
|
from pkg_resources import resource_filename
|
||||||
|
Reference in New Issue
Block a user