sparse-intern-71089
01/03/2021, 6:23 PMgreen-school-95910
01/03/2021, 6:25 PM# Start up script
r_server_startup = GITHUB_PASSWORD.apply(lambda password: f"""
#!/bin/bash
cd ~ ;
sudo apt update;
sudo apt install -y git;
sudo git clone -b {BRANCH} https://{GITHUB_USERNAME}:{password}@github.com/orgacuity/orgacuity.git;
""")
r_server_startup
will be a new Output
that holds the script and is also secret, since it is derived from a secret Output
full-account-26076
01/03/2021, 6:32 PMapply
before but just not in this fashion. I'll give it a run.apply
method is rendering because installs occur. Bad part is that the password isn't materializing in r_startup_script
and the clone doesn't occur.gentle-diamond-70147
01/05/2021, 12:14 AM.apply()
example), I see my secret in the stack output with pulumi stack output --show-secrets
.full-account-26076
01/05/2021, 12:49 AMgentle-diamond-70147
01/05/2021, 12:49 AMfull-account-26076
01/05/2021, 12:52 AM