enough-judge-17725
02/27/2019, 12:05 AMenough-judge-17725
02/27/2019, 12:05 AMenough-judge-17725
02/27/2019, 12:05 AMenough-judge-17725
02/27/2019, 12:24 AMgentle-diamond-70147
02/27/2019, 12:31 AMgentle-diamond-70147
02/27/2019, 12:31 AMenough-judge-17725
02/27/2019, 12:32 AMenough-judge-17725
02/27/2019, 12:32 AMenough-judge-17725
02/27/2019, 12:32 AMgentle-diamond-70147
02/27/2019, 12:33 AMgentle-diamond-70147
02/27/2019, 12:34 AMgentle-diamond-70147
02/27/2019, 12:34 AMenough-judge-17725
02/27/2019, 12:35 AMenough-judge-17725
02/27/2019, 12:37 AMbusy-daybreak-68237
02/27/2019, 11:15 AMbusy-daybreak-68237
02/27/2019, 11:15 AMbusy-daybreak-68237
02/27/2019, 11:53 AMbusy-daybreak-68237
02/27/2019, 12:13 PMworried-engineer-33884
02/27/2019, 2:43 PMfrom pulumi_aws import secretsmanager
my_secret = secretsmanager.get_secret_version(secret_id="my-secret")
In aws terraform, I would normally be able to access the attribute secret_string
on this data source. how do i access that here so that i can use it as an input to another resource and/or log it to console so that i can inspect the value and see that things are working as i expect?thousands-notebook-91098
02/27/2019, 2:45 PMthousands-notebook-91098
02/27/2019, 2:46 PMmy_secret.secret_string
?worried-engineer-33884
02/27/2019, 2:47 PMthousands-notebook-91098
02/27/2019, 2:47 PMthousands-notebook-91098
02/27/2019, 2:47 PMthousands-notebook-91098
02/27/2019, 2:47 PMthousands-notebook-91098
02/27/2019, 2:48 PMworried-engineer-33884
02/27/2019, 2:48 PMthousands-notebook-91098
02/27/2019, 3:20 PMmy_secret = await secretsmanager.get_secret_version(blah)
?thousands-notebook-91098
02/27/2019, 3:20 PMthousands-notebook-91098
02/27/2019, 3:20 PMthousands-notebook-91098
02/27/2019, 3:20 PM